You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<
50FE
script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"path":"basics","repo":{"id":478468714,"defaultBranch":"master","name":"python-tutorial","ownerLogin":"SusarlaAbhilash","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-04-06T08:24:15.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/78541259?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"test","listCacheKey":"v0:1649233462.642816","canEdit":false,"refType":"branch","currentOid":"c1cf8546057c54e219ae7c5dec5d5d78c4c90a2f"},"tree":{"items":[{"name":"README.md","path":"basics/README.md","contentType":"file"},{"name":"answers.md","path":"basics/answers.md","contentType":"file"},{"name":"classes.md","path":"basics/classes.md","contentType":"file"},{"name":"defining-functions.md","path":"basics/defining-functions.md","contentType":"file"},{"name":"dicts.md","path":"basics/dicts.md","contentType":"file"},{"name":"editor-setup.md","path":"basics/editor-setup.md","contentType":"file"},{"name":"exceptions.md","path":"basics/exceptions.md","contentType":"file"},{"name":"files.md","path":"basics/files.md","contentType":"file"},{"name":"getting-started.md","path":"basics/getting-started.md","contentType":"file"},{"name":"handy-stuff-strings.md","path":"basics/handy-stuff-strings.md","contentType":"file"},{"name":"if.md","path":"basics/if.md","contentType":"file"},{"name":"installing-python.md","path":"basics/installing-python.md","contentType":"file"},{"name":"larger-program.md","path":"basics/larger-program.md","contentType":"file"},{"name":"lists-and-tuples.md","path":"basics/lists-and-tuples.md","contentType":"file"},{"name":"loops.md","path":"basics/loops.md","contentType":"file"},{"name":"modules.md","path":"basics/modules.md","contentType":"file"},{"name":"the-way-of-the-program.md","path":"basics/the-way-of-the-program.md","contentType":"file"},{"name":"trey-hunner-zip-and-enumerate.md","path":"basics/trey-hunner-zip-and-enumerate.md","contentType":"file"},{"name":"using-functions.md","path":"basics/using-functions.md","contentType":"file"},{"name":"variables.md","path":"basics/variables.md","contentType":"file"},{"name":"what-is-programming.md","path":"basics/what-is-programming.md","contentType":"file"},{"name":"what-is-true.md","path":"basics/what-is-true.md","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBasics\u003c/h1\u003e\u003ca id=\"user-content-basics\" class=\"anchor\" aria-label=\"Permalink: Basics\" href=\"#basics\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis section will get you started with using Python and you'll be able\nto learn more about whatever you want after studying it.\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/what-is-programming.md\"\u003eWhat is programming?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/installing-python.md\"\u003eInstalling Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/getting-started.md\"\u003eGetting started with Python\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/the-way-of-the-program.md\"\u003eThinkPython: The way of the program\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/variables.md\"\u003eVariables, Booleans and None\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/using-functions.md\"\u003eUsing functions\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/editor-setup.md\"\u003eSetting up an editor\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/if.md\"\u003eIf, else and elif\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/handy-stuff-strings.md\"\u003eHandy stuff with strings\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/lists-and-tuples.md\"\u003eLists and tuples\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/loops.md\"\u003eLoops\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/trey-hunner-zip-and-enumerate.md\"\u003eTrey Hunner: zip and enumerate\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/dicts.md\"\u003eDictionaries\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/defining-functions.md\"\u003eDefining functions\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/larger-program.md\"\u003eWriting a larger program\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/what-is-true.md\"\u003eWhat is true?\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/files.md\"\u003eFiles\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/modules.md\"\u003eModules\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/exceptions.md\"\u003eExceptions\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/basics/classes.md\"\u003eClasses\u003c/a\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\u003chr\u003e\n\u003cp dir=\"auto\"\u003eIf you have trouble with this tutorial please \u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/contact-me.md\"\u003etell me about\nit\u003c/a\u003e and I'll make this tutorial better. If you\nlike this tutorial, please \u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial\"\u003egive it a\nstar\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eYou may use this tutorial freely at your own risk. See\n\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/LICENSE\"\u003eLICENSE\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"/SusarlaAbhilash/python-tutorial/blob/test/README.md#list-of-contents\"\u003eList of contents\u003c/a\u003e\u003c/p\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Basics","anchor":"basics","htmlText":"Basics"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FSusarlaAbhilash%2Fpython-tutorial%2Ftree%2Ftest%2Fbasics"}},"totalCount":22,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":"advanced","path":"advanced","contentType":"directory"},{"name":"basics","path":"basics","contentType":"directory"},{"name":"images","path":"images","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"TODO.md","path":"TODO.md","contentType":"file"},{"name":"classes.md","path":"classes.md","contentType":"file"},{"name":"common.py","path":"common.py","contentType":"file"},{"name":"contact-me.md","path":"contact-me.md","contentType":"file"},{"name":"getting-help.md","path":"getting-help.md","contentType":"file"},{"name":"html-style.css","path":"html-style.css","contentType":"file"},{"name":"linkcheck.py","path":"linkcheck.py","contentType":"file"},{"name":"make-html.py","path":"make-html.py","contentType":"file"},{"name":"update-ends.py","path":"update-ends.py","contentType":"file"},{"name":"update-readmes.py","path":"update-readmes.py","contentType":"file"},{"name":"what-next.md","path":"what-next.md","contentType":"file"}],"totalCount":17}},"fileTreeProcessingTime":2.412588,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/SusarlaAbhilash/python-tutorial/branches":{"post":"au5TATYR_mpPFQqj3mTGXK5-l69-LSlrh7FuSZCD6tingRmB7GYypGBL6CfHG_L0EFGzV_cWQl1IUF6bE0h3OQ"},"/SusarlaAbhilash/python-tutorial/branches/fetch_and_merge/test":{"post":"XevK_ny0cLdiFRUw2otxssdW_oOadLuN_BQvDSUFYCjXvi9LzLK1wmtoU-j9aK3Y8VGDn7utNh5hIdJfhzv5rA"},"/SusarlaAbhilash/python-tutorial/branches/fetch_and_merge/test?discard_changes=true":{"post":"d_7vdvccnLIwieC9ayTouR7uduxWzmxKwDz8OvuP-5H9qwrDRxpZxzn0pmVMxzTTKOkL8HcX4dldCQFoWbFiFQ"}}},"title":"python-tutorial/basics at test · SusarlaAbhilash/python-tutorial","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}