{"id":24657624,"url":"https://github.com/mrazam110/problem-solving-python","last_synced_at":"2025-03-21T04:14:55.967Z","repository":{"id":89074365,"uuid":"153059683","full_name":"mrazam110/problem-solving-python","owner":"mrazam110","description":"I will solve basic problem as a beginner in programming language","archived":false,"fork":false,"pushed_at":"2018-11-06T12:33:24.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T00:34:28.408Z","etag":null,"topics":["beginner-code","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrazam110.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-15T05:52:27.000Z","updated_at":"2021-04-27T12:02:01.000Z","dependencies_parsed_at":"2023-06-13T20:07:59.552Z","dependency_job_id":null,"html_url":"https://github.com/mrazam110/problem-solving-python","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/mrazam110%2Fproblem-solving-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrazam110%2Fproblem-solving-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrazam110%2Fproblem-solving-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrazam110%2Fproblem-solving-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrazam110","download_url":"https://codeload.github.com/mrazam110/problem-solving-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244734202,"owners_count":20501018,"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":["beginner-code","python3"],"created_at":"2025-01-26T00:33:34.702Z","updated_at":"2025-03-21T04:14:55.961Z","avatar_url":"https://github.com/mrazam110.png","language":"Python","readme":"# Problem Solving - Basic Python\nThe objective of this repo is to solve problems using basic programming skills i.e variables, conditions, iterations and arrays.\n\n## Problems:\n* [x] Hello World\n* [x] Prime Numbers\n* [x] Triangle/Diamond Problems\n* [x] Maze Game\n* [ ] Binary to Decimal and Decimal to Binary\n* [ ] Binary Numbers Addition\n* [ ] Matrix Addition\n* [ ] Matrix Multiplication\n* [ ] Linear Search\n* [ ] Binary Search\n* [ ] Bubble Sort\n* [ ] Palindrome\n* [ ] Fibonacci series\n* [ ] Find armstrong number\n\n*Feel free to add problems by opening pull requests.*\n\n------------\n\nIf anyone like to compile any problem, just write following lines in terminal\n```\npython3 \u003cproject_name\u003e.py\n```\n\n## [#1 - Hello World](https://github.com/mrazam110/problem-solving-python/blob/master/Source/helloworld.py)\n```bash\n$ python3 helloworld.py \nHello World\n```\n## [#2 - Prime Numbers](https://github.com/mrazam110/problem-solving-python/blob/master/Source/prime-number.py)\n```bash\n$ python3 prime-number.py\nEnter a positive integer number: 10\n2  is a prime number\n3  is a prime number\n4  is a prime number\n5  is a prime number\n6  is not a prime number\n7  is a prime number\n8  is not a prime number\n9  is not a prime number\n```\n\n## [#3 - Triangle/Diamond Problems](https://github.com/mrazam110/problem-solving-python/blob/master/Source/diamond-problems.py)\n```bash\n$ python3 diamond-problems.py \n0 \n0 0 \n0 0 0 \n0 0 0 0 \n0 0 0 0 0 \n--------------------\n\n0 \n0 0 \n0 0 0 \n0 0 0 0 \n0 0 0 0 0 \n0 0 0 0 \n0 0 0 \n0 0 \n0 \n--------------------\n\n     0 \n    0 0 \n   0 0 0 \n  0 0 0 0 \n 0 0 0 0 0 \n--------------------\n\n     0 \n    0 0 \n   0 0 0 \n  0 0 0 0 \n 0 0 0 0 0 \n  0 0 0 0 \n   0 0 0 \n    0 0 \n     0 \n```\n\n## [#4 - Maze Game](https://github.com/mrazam110/problem-solving-python/blob/master/Source/maze.py)\nUser needs to move '2' to the top right '0', and '1' is a wall and '0' is a ground and user is '2'\n```bash\n$ python3 maze.py\n['2', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: right\n['0', '2', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: down\n['0', '0', '1', '0', '0']\n['1', '2', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: down\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '2', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: down\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '2', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: down\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '2', '0', '0', '1']\nEnter direction up/down/left/right: right\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '2', '0', '1']\nEnter direction up/down/left/right: right\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '2', '1']\nEnter direction up/down/left/right: right\ncant go right\nEnter direction up/down/left/right: up\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '2', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: up\n['0', '0', '1', '0', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '2', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: up\n['0', '0', '1', '0', '0']\n['1', '0', '1', '2', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: up\n['0', '0', '1', '2', '0']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nEnter direction up/down/left/right: right\n['0', '0', '1', '0', '2']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '1', '0', '1']\n['1', '0', '0', '0', '1']\nCongradulations you won!!\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrazam110%2Fproblem-solving-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrazam110%2Fproblem-solving-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrazam110%2Fproblem-solving-python/lists"}