{"id":19636041,"url":"https://github.com/mrroot5/python-teach-learn","last_synced_at":"2025-07-28T05:07:00.481Z","repository":{"id":40653744,"uuid":"486855179","full_name":"mrroot5/python-teach-learn","owner":"mrroot5","description":"This is a repository to teach and learn Python","archived":false,"fork":false,"pushed_at":"2022-04-30T08:25:43.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T16:56:25.660Z","etag":null,"topics":["python","python-exercises","python-learn","python-learning","python-script","python-teach","python3","python3-excercise","python3-learning","python3-teach","python3teach","pythonlearn","pythonlearning","pythonteach"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrroot5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-29T05:59:40.000Z","updated_at":"2022-04-30T08:13:58.000Z","dependencies_parsed_at":"2022-08-10T00:01:14.991Z","dependency_job_id":null,"html_url":"https://github.com/mrroot5/python-teach-learn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrroot5%2Fpython-teach-learn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrroot5%2Fpython-teach-learn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrroot5%2Fpython-teach-learn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrroot5%2Fpython-teach-learn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrroot5","download_url":"https://codeload.github.com/mrroot5/python-teach-learn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240941488,"owners_count":19882062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-exercises","python-learn","python-learning","python-script","python-teach","python3","python3-excercise","python3-learning","python3-teach","python3teach","pythonlearn","pythonlearning","pythonteach"],"created_at":"2024-11-11T12:28:08.583Z","updated_at":"2025-02-26T21:42:42.681Z","avatar_url":"https://github.com/mrroot5.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python teach and learn\n\nThis is a repository to teach and learn Python.\n\nIf you are a teacher, you can use all the exercises on this repo for your own purpose:\nteach some concept, exams, etc.\n\nAs a student take a look to the explanations below.\n\n## Requirements\n\n* Python \u003e= 3.6.\n* Git installed.\n* A GitHub account.\n\n## Repo structure\n\nOn master you only have a few files, every exercise is inside his own branch.\n\nEvery branch has a name with index + what we learn.\nFor example the first branch is `0_hello-world`.\nAlso, we have modifications to the main exercise on a branch, example: `0.1_hello-someone`.\nThis modifications add more complexity to the main problem like is usually done on [code katas](https://en.wikipedia.org/wiki/Kata#Outside_martial_arts).\n\n\u003e Katas starts with a simple problem and will be more complicated on every step\n\n## Step by step guide\n\nIf you fork this repo, never update the original branches because you could have conflicts in the future. Instead of that, create new branches.\n\n### Step 0: Read it\n\nYes, this should be your first step, read this README and, of course, we start with 0 not 1.\nIf you do not know why, we will see it in the future, be patient.\n\n### Step 1: Fork\n\nYou should fork this repo and then start working with it.\nHow? We will see a step by step guide with git commands.\n\nIf you use another tool like GitHub Desktop take a look to their docs.\n\n![fork button](docs/images/fork-btn.jpg)\n\n### Step 2: Setup the upstream\n\nThis step is required to have the latests updates from the main repo in your forked one.\n\nWhen you setup this you will be able to:\n\n1. Update the master branch of your forked repo.\n2. Get any new branch created from the main repo.\n\n#### Add upstream remote origin\n\n```shell\ngit remote add upstream git@github.com:mrroot5/python-teach-learn.git\n```\n\n#### Update branches\n\nThis could be done with the fetch button on GitHub:\n\n![fetch button](docs/images/fetch-upstream-btn.jpg)\n\nOr with a git command:\n\n```shell\ngit pull upstream master\n```\n\nSimply change master for the branch you want.\nOn GitHub you must change to a new branch to have the option to fetch it.\n\n#### Update list of branches\n\nI do not know if GitHub have an option to do this so, this is the command:\n\n```shell\ngit fetch upstream\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrroot5%2Fpython-teach-learn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrroot5%2Fpython-teach-learn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrroot5%2Fpython-teach-learn/lists"}