{"id":13601688,"url":"https://github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions","last_synced_at":"2025-04-11T04:31:27.014Z","repository":{"id":38673084,"uuid":"210059300","full_name":"ProgrammingHero1/100-plus-python-coding-problems-with-solutions","owner":"ProgrammingHero1","description":"A list of python problems for beginners and intermediate developers","archived":false,"fork":false,"pushed_at":"2023-06-20T21:03:35.000Z","size":157,"stargazers_count":835,"open_issues_count":19,"forks_count":364,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-08-02T18:41:10.709Z","etag":null,"topics":["coding-challenge","interview","learn-pyton","problem-solving","programming","programming-challenges","programming-contest","programming-exercises","programming-fundamentals","python","python-coding-challenges","python-problem-solving","python-tutorial","python3"],"latest_commit_sha":null,"homepage":"http://www.programming-hero.com","language":null,"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/ProgrammingHero1.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}},"created_at":"2019-09-21T22:10:05.000Z","updated_at":"2024-08-02T16:02:31.000Z","dependencies_parsed_at":"2022-08-09T05:16:36.680Z","dependency_job_id":"76899bea-ad6b-4206-aec4-d6e77504947a","html_url":"https://github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions","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/ProgrammingHero1%2F100-plus-python-coding-problems-with-solutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingHero1%2F100-plus-python-coding-problems-with-solutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingHero1%2F100-plus-python-coding-problems-with-solutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingHero1%2F100-plus-python-coding-problems-with-solutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammingHero1","download_url":"https://codeload.github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223458521,"owners_count":17148479,"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":["coding-challenge","interview","learn-pyton","problem-solving","programming","programming-challenges","programming-contest","programming-exercises","programming-fundamentals","python","python-coding-challenges","python-problem-solving","python-tutorial","python3"],"created_at":"2024-08-01T18:01:06.407Z","updated_at":"2024-11-07T04:31:26.409Z","avatar_url":"https://github.com/ProgrammingHero1.png","language":null,"readme":"# 100 Plus Python Coding Problems With Solutions\n---\nWelcome to the Python problem-solving world. \n\nHere, we will take a real-world coding related problem. We will think about the process of solving the problem and then we will solve it. After the solution, we will explain the answer.  \n\n## Table of Contents:\n\n## 1 -\u0026nbsp; Easy ones\n* **[1.1](Easy-ones/User-input-to-Number.md \"Convert input\")** - **[Convert input](/Easy-ones/User-input-to-Number.md)**\n* **[1.2](Easy-ones/Math-Power.md \"Math power\")** - **[Math power](/Easy-ones/Math-Power.md)**\n* **[1.3](Easy-ones/Random-Number.md \"Random Number\")** - **[Random Number](/Easy-ones/Random-Number.md)**\n* **[1.4](Easy-ones/Floor-Division.md \"Floor Division\")** - **[Floor Division](/Easy-ones/Floor-Division.md)**\n* **[1.5](Easy-ones/Temporary-variable.md \"Temporary variable\")** - **[Temporary variable](/Easy-ones/Temporary-variable.md)** \n\n\n## 2 -\u0026nbsp; Number Related\n* **[2.1](Number-Relate \"Max of two\")** - **[Max of two](/Number-Relate)**\n* **[2.2](Number-Related/Math-Power.md \"Max of three\")** - **[Max of three](/Number-Related/User-input-to-Number.md)**\n* **[2.3](Number-Related/Math-Power.md \"Average of numbers\")** - **[Average of numbers](/Number-Related/Math-Power.md)**\n* **[2.4](Number-Related/Divisible-by-3-and-5.md \"Divisible by 3 and 5\")** - **[Divisible by 3 and 5](/Number-Related/Divisible-by-3-and-5.md)**\n* **[2.5](Number-Related/Sum-of-digits.md \"Sum of digits\")** - **[Sum of digits](Loop-Related/Sum-of-digits.md)**\n\n\n## 3 -\u0026nbsp; Loop Related\n* **[3.1](Loop-Related/Coin-sum.md \"Sum of elements\")** - **[Sum of elements](Loop-Related/Coin-sum.md)**\n* ### 2 -\u0026nbsp; Number Related - 6-10\n* **[2.1](Number-Related/max-of-two.md \"Max of two\")** - **[Max of two](Number-Related/max-of-two.md)**\n* **[2.2](Number-Related/Max-of-three.md \"Max of three\")** - **[Max of three](Number-Related/Max-of-three.md)**\n* **[2.3](Number-Related/Average-of-numbers.md \"Average of numbers\")** - **[Average of numbers](Number-Related/Average-of-numbers.md)**\n* **[2.4](Number-Related/Divisible-by-3-and-5.md \"Divisible by 3 and 5\")** - **[Divisible by 3 and 5](Number-Related/Divisible-by-3-and-5.md)**\n* **[2.5](Number-Related/Sum-of-digits.md \"Sum of digits\")** - **[Sum of digits](Number-Related/Sum-of-digits.md)**\n\n\n* ### 3 -\u0026nbsp; Loop Related - 11-16\n* **[3.1](Loop-Related/Sum-of-elements.md \"Sum of elements\")** - **[Sum of elements](Loop-Related/Sum-of-elements.md)**\n* **[3.2](Loop-Related/Largest-element-of-a-list.md \"Largest element of a list\")** - **[Largest element of a list](Loop-Related/Largest-element-of-a-list.md)**\n* **[3.3](Loop-Related/Sum-of-squares.md \"Sum of squares\")** - **[Sum of squares](Loop-Related/Sum-of-squares.md)**\n* **[3.4](Loop-Related/Second-Largest.md \"Second Largest\")** - **[Second Largest](Loop-Related/Second-Largest.md)**\n* **[3.5](Loop-Related/Second-smallest.md \"Second Smallest\")** - **[Second Smallest](Loop-Related/Second-smallest.md)**\n* **[3.6](Loop-Related/Remove-duplicate-Chars.md \"Remove duplicate Chars\")** - **[Remove duplicate Chars](Loop-Related/Remove-duplicate-Chars.md)**\n\n\n## 4 -\u0026nbsp; Conversions\n* **[4.1](Conversions/Celsius-to-Fahrenheit.md \"Miles to Kilometers\")** - **[Miles to Kilometers](Conversions/Celsius-to-Fahrenheit.md)**\n* **[4.2](Conversions/Decimal-to-binary.md \"Celsius to Fahrenheit\")** - **[Celsius to Fahrenheitt](Conversions/Decimal-to-binary.md)**\n* **[4.3](Conversions/Decimal-to-binary-recursive.md \"Decimal to binary\")** - **[Decimal to binary](Conversions/Decimal-to-binary-recursive.md)**\n* ### 4 -\u0026nbsp; Conversions - 17-21\n* **[4.1](Conversions/Miles-to-Kilometers.md \"Miles to Kilometers\")** - **[Miles to Kilometers](Conversions/Miles-to-Kilometers.md)**\n* **[4.2](Conversions/Celsius-to-Fahrenheit.md \"Celsius to Fahrenheit\")** - **[Celsius to Fahrenheitt](Conversions/Celsius-to-Fahrenheit.md)**\n* **[4.3](Conversions/Decimal-to-binary.md \"Decimal to binary\")** - **[Decimal to binary](Conversions/Decimal-to-binary.md)**\n* **[4.4](Conversions/Decimal-to-binary-recursive.md \"Decimal to binary (recursive)\")** - **[Decimal to binary (recursive)](Conversions/Decimal-to-binary-recursive.md)**\n* **[4.5](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp \"Binary to decimal\")** - **[Binary to decimal](premium)** **- Premium Access**\n\n## [5](Solution-Strategy.md \"Solution Strategy\") -\u0026nbsp; [Solution Strategy](Solution-Strategy.md) \n  \n## 6 -\u0026nbsp; Computations\n\n* **[6.1](Computations/Simple-Interest.md \"Simple Interest\")** - **[Simple Interest](Computations/Simple-Interest.md)**\n* **[6.2](Computations/Complex-Interest.md \"Complex Interest\")** - **[Complex Interest](Computations/Complex-Interest.md)**\n* **[6.3](Computations/Calculate-Grades.md \"Calculate Grades)\")** - **[Calculate Grades](Computations/Calculate-Grades.md)**\n* **[6.4](Computations/Gravitational-Force.md \"Gravitational Force)\")** - **[Gravitational Force](Computations/Gravitational-Force.md)**\n* **[6.5](Computations/Triangle-Area.md \"Triangle Area)\")** - **[Triangle Area](Computations/Triangle-Area.md)**\n\n## 7 -\u0026nbsp; Prime number\n\n* **[7.1](Prime-number/Check-Prime.md \"Check Prime\")** - \u0026nbsp; **[Check Prime](Solution-Strategy.md)** \n* **[7.2](Prime-number/Prime-Numbers.md \"Prime Numbers\")** - \u0026nbsp; **[Prime Numbers](Prime-number/Prime-Numbers.md)** \n* **[7.3](Prime-number/Prime-factors.md \"Prime factors\")** - \u0026nbsp; **[Prime factors](Prime-number/Prime-factors.md)** \n* **[7.4](Prime-number/Smallest-prime-factor.md \"Smallest prime factor\")** - \u0026nbsp; **[Smallest prime factor](Prime-number/Smallest-prime-factor.md)** \n\n## 8 -\u0026nbsp; Reverse\n\n* **[8.1](Reverse/Reverse-String.md \"Reverse String\")** - \u0026nbsp; **[Reverse String](Reverse/Reverse-String.md)** \n* **[8.2](Reverse/Reverse-String-(stack).md \"Reverse String (stack)\")** - \u0026nbsp; **[Reverse String (stack)](Reverse/Reverse-String-(stack).md)** \n* **[8.3](Reverse/Reverse-String-(recursive).md \"Reverse String (recursive)\")** - \u0026nbsp; **[Reverse String (recursive)](Reverse/Reverse-String-(recursive).md)** \n* **[8.4](Reverse/Reverse-Number.md \"Reverse Number\")** - \u0026nbsp; **[Reverse Number](Reverse/Reverse-Number.md)** \n* **[8.5](Reverse/Reverse-word.md \"Reverse word\")** - \u0026nbsp; **[Reverse word](Reverse/Reverse-word.md)** \n\n## 9 -\u0026nbsp; Medium\n\n* **[9.1](Medium/Check-palindrome.md \"Check palindrome\")** - \u0026nbsp; **[Check palindrome](Medium/Check-palindrome.md)** \n* **[9.2](Medium/Dictionary-of-cubes.md \"Dictionary of cubes\")** - \u0026nbsp; **[Dictionary of cubes](Medium/Dictionary-of-cubes.md)** \n* **[9.3](Medium/Armstrong-number.md \"Armstrong number\")** - \u0026nbsp; **[Armstrong number](Medium/Armstrong-number.md)** \n* **[9.4](Medium/Greatest-common-divisor.md \"Greatest common divisor\")** - \u0026nbsp; **[Greatest common divisor](Medium/Greatest-common-divisor.md)** \n* **[9.5](Medium/Least-Common-Multiple.md \"Least Common Multiple\")** - \u0026nbsp; **[Least Common Multiple](Medium/Least-Common-Multiple.md)** \n\n## [10](Programming-Contest.md \"Programming Contest\") -\u0026nbsp; [Programming Contest](Programming-Contest.md) \n\n## 11 -\u0026nbsp; Simple Game\n\n* **[11.1](Simple-Game/Guess-game.md \"Guess game\")** - \u0026nbsp; **[Guess game](Simple-Game/Guess-game.md)** \n* **[11.2](Simple-Game/Rock-paper-scissor.md \"Rock paper scissor\")** - \u0026nbsp; **[Rock paper scissor](Simple-Game/Rock-paper-scissor.md)** \n* **[11.3](Simple-Game/Cows-and-bulls.md \"Cows and bulls\")** - \u0026nbsp; **[Cows and bulls](Simple-Game/Cows-and-bulls.md)** \n* **[11.4](Simple-Game/Cows-and-bulls(4digits).md \"Cows and bulls(4digits)\")** - \u0026nbsp; **[Cows and bulls(4digits)](Simple-Game/Cows-and-bulls(4digits).md)** \n* **[11.5](Simple-Game/Word-completion.md \"Word completion\")** - \u0026nbsp; **[Word completion](Simple-Game/Word-completion.md)** \n* **[11.6](Simple-Game/Word-hangman.md \"Word hangman\")** - \u0026nbsp; **[Word hangman](Simple-Game/Word-hangman.md)** \n\n## 12 -\u0026nbsp; Harder\n\n* **[12.1](Harder/Simple-Calculator.md \"Simple Calculator\")** - \u0026nbsp; **[Simple Calculator](Harder/Simple-Calculator.md)** \n* **[12.2](Harder/Password-generator.md \"Password generator\")** - \u0026nbsp; **[Password generator](Harder/Password-generator.md)** \n* **[12.3](Harder/Password-with-requirements.md \"Password with requirements\")** - \u0026nbsp; **[Password with requirements](Harder/Password-with-requirements.md)** \n* **[12.4](Harder/Permutations.md \"Permutations\")** - \u0026nbsp; **[Permutations](Harder/Permutations.md)** \n* **[12.5](Harder/Simple-Calculator.md \"Generate Sentences\")** - \u0026nbsp; **[Generate Sentences](Harder/Simple-Calculator.md)** \n\n\n## 13 -\u0026nbsp; User Submitted\n\n* **[13.1](User-Submitted/Simple-Clock.md \"Simple Digital Clock\")** - \u0026nbsp; **[Simple Clock](User-Submitted/Simple-Clock.md)** \n* **[13.2](User-Submitted/Birthday-remaining.md \"Birthday-remaining.md\")** - \u0026nbsp; **[Birthday-remaining.md](User-Submitted/Birthday-remaining.md)** \n* **[13.3](User-Submitted/Calculate-age.md \"Calculate age\")** - \u0026nbsp; **[Calculate age](User-Submitted/Calculate-age.md)** \n\n\n\u003e Only half of the task is done. More problems are coming. If you want to add more problems, feel free to send a pull request.\n\n\n### Many solutions\nHere we are focusing on the thinking and strategies to solve a problem. However, every problem could be solved in multiple ways. And other solutions could be better and faster. \n\nAlways keep an open mind to learn multiple solutions to solve a problem.\n\n### Let’s Start\n\u003e Let’s start your journey. Let’s solve every problem you face. \n\n*Let’s do it.*\n\n\u0026nbsp;\n[![Next Page](assets/next-button.png)](/Easy-ones/User-input-to-Number.md)\n\u0026nbsp;\n\ntags:  `programming-hero`  `python`  `python3`  `problem-solving`  `programming`  `coding-challenge`  `interview`  `learn-python`  `python-tutorial`  `programming-exercises`  `programming-challenges`  `programming-fundamentals`  `programming-contest`  `python-coding-challenges`  `python-problem-solving`\n","funding_links":[],"categories":["miscellaneous","Coding Problems"],"sub_categories":["Awesome Papers / Articles"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProgrammingHero1%2F100-plus-python-coding-problems-with-solutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FProgrammingHero1%2F100-plus-python-coding-problems-with-solutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProgrammingHero1%2F100-plus-python-coding-problems-with-solutions/lists"}