Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions

A list of python problems for beginners and intermediate developers
https://github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions

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

Last synced: 3 months ago
JSON representation

A list of python problems for beginners and intermediate developers

Awesome Lists containing this project

README

        

# 100 Plus Python Coding Problems With Solutions
---
Welcome to the Python problem-solving world.

Here, 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.

## Table of Contents:

## 1 -  Easy ones
* **[1.1](Easy-ones/User-input-to-Number.md "Convert input")** - **[Convert input](/Easy-ones/User-input-to-Number.md)**
* **[1.2](Easy-ones/Math-Power.md "Math power")** - **[Math power](/Easy-ones/Math-Power.md)**
* **[1.3](Easy-ones/Random-Number.md "Random Number")** - **[Random Number](/Easy-ones/Random-Number.md)**
* **[1.4](Easy-ones/Floor-Division.md "Floor Division")** - **[Floor Division](/Easy-ones/Floor-Division.md)**
* **[1.5](Easy-ones/Temporary-variable.md "Temporary variable")** - **[Temporary variable](/Easy-ones/Temporary-variable.md)**

## 2 -  Number Related
* **[2.1](Number-Relate "Max of two")** - **[Max of two](/Number-Relate)**
* **[2.2](Number-Related/Math-Power.md "Max of three")** - **[Max of three](/Number-Related/User-input-to-Number.md)**
* **[2.3](Number-Related/Math-Power.md "Average of numbers")** - **[Average of numbers](/Number-Related/Math-Power.md)**
* **[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)**
* **[2.5](Number-Related/Sum-of-digits.md "Sum of digits")** - **[Sum of digits](Loop-Related/Sum-of-digits.md)**

## 3 -  Loop Related
* **[3.1](Loop-Related/Coin-sum.md "Sum of elements")** - **[Sum of elements](Loop-Related/Coin-sum.md)**
* ### 2 -  Number Related - 6-10
* **[2.1](Number-Related/max-of-two.md "Max of two")** - **[Max of two](Number-Related/max-of-two.md)**
* **[2.2](Number-Related/Max-of-three.md "Max of three")** - **[Max of three](Number-Related/Max-of-three.md)**
* **[2.3](Number-Related/Average-of-numbers.md "Average of numbers")** - **[Average of numbers](Number-Related/Average-of-numbers.md)**
* **[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)**
* **[2.5](Number-Related/Sum-of-digits.md "Sum of digits")** - **[Sum of digits](Number-Related/Sum-of-digits.md)**

* ### 3 -  Loop Related - 11-16
* **[3.1](Loop-Related/Sum-of-elements.md "Sum of elements")** - **[Sum of elements](Loop-Related/Sum-of-elements.md)**
* **[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)**
* **[3.3](Loop-Related/Sum-of-squares.md "Sum of squares")** - **[Sum of squares](Loop-Related/Sum-of-squares.md)**
* **[3.4](Loop-Related/Second-Largest.md "Second Largest")** - **[Second Largest](Loop-Related/Second-Largest.md)**
* **[3.5](Loop-Related/Second-smallest.md "Second Smallest")** - **[Second Smallest](Loop-Related/Second-smallest.md)**
* **[3.6](Loop-Related/Remove-duplicate-Chars.md "Remove duplicate Chars")** - **[Remove duplicate Chars](Loop-Related/Remove-duplicate-Chars.md)**

## 4 -  Conversions
* **[4.1](Conversions/Celsius-to-Fahrenheit.md "Miles to Kilometers")** - **[Miles to Kilometers](Conversions/Celsius-to-Fahrenheit.md)**
* **[4.2](Conversions/Decimal-to-binary.md "Celsius to Fahrenheit")** - **[Celsius to Fahrenheitt](Conversions/Decimal-to-binary.md)**
* **[4.3](Conversions/Decimal-to-binary-recursive.md "Decimal to binary")** - **[Decimal to binary](Conversions/Decimal-to-binary-recursive.md)**
* ### 4 -  Conversions - 17-21
* **[4.1](Conversions/Miles-to-Kilometers.md "Miles to Kilometers")** - **[Miles to Kilometers](Conversions/Miles-to-Kilometers.md)**
* **[4.2](Conversions/Celsius-to-Fahrenheit.md "Celsius to Fahrenheit")** - **[Celsius to Fahrenheitt](Conversions/Celsius-to-Fahrenheit.md)**
* **[4.3](Conversions/Decimal-to-binary.md "Decimal to binary")** - **[Decimal to binary](Conversions/Decimal-to-binary.md)**
* **[4.4](Conversions/Decimal-to-binary-recursive.md "Decimal to binary (recursive)")** - **[Decimal to binary (recursive)](Conversions/Decimal-to-binary-recursive.md)**
* **[4.5](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp "Binary to decimal")** - **[Binary to decimal](premium)** **- Premium Access**

## [5](Solution-Strategy.md "Solution Strategy") -  [Solution Strategy](Solution-Strategy.md)

## 6 -  Computations

* **[6.1](Computations/Simple-Interest.md "Simple Interest")** - **[Simple Interest](Computations/Simple-Interest.md)**
* **[6.2](Computations/Complex-Interest.md "Complex Interest")** - **[Complex Interest](Computations/Complex-Interest.md)**
* **[6.3](Computations/Calculate-Grades.md "Calculate Grades)")** - **[Calculate Grades](Computations/Calculate-Grades.md)**
* **[6.4](Computations/Gravitational-Force.md "Gravitational Force)")** - **[Gravitational Force](Computations/Gravitational-Force.md)**
* **[6.5](Computations/Triangle-Area.md "Triangle Area)")** - **[Triangle Area](Computations/Triangle-Area.md)**

## 7 -  Prime number

* **[7.1](Prime-number/Check-Prime.md "Check Prime")** -   **[Check Prime](Solution-Strategy.md)**
* **[7.2](Prime-number/Prime-Numbers.md "Prime Numbers")** -   **[Prime Numbers](Prime-number/Prime-Numbers.md)**
* **[7.3](Prime-number/Prime-factors.md "Prime factors")** -   **[Prime factors](Prime-number/Prime-factors.md)**
* **[7.4](Prime-number/Smallest-prime-factor.md "Smallest prime factor")** -   **[Smallest prime factor](Prime-number/Smallest-prime-factor.md)**

## 8 -  Reverse

* **[8.1](Reverse/Reverse-String.md "Reverse String")** -   **[Reverse String](Reverse/Reverse-String.md)**
* **[8.2](Reverse/Reverse-String-(stack).md "Reverse String (stack)")** -   **[Reverse String (stack)](Reverse/Reverse-String-(stack).md)**
* **[8.3](Reverse/Reverse-String-(recursive).md "Reverse String (recursive)")** -   **[Reverse String (recursive)](Reverse/Reverse-String-(recursive).md)**
* **[8.4](Reverse/Reverse-Number.md "Reverse Number")** -   **[Reverse Number](Reverse/Reverse-Number.md)**
* **[8.5](Reverse/Reverse-word.md "Reverse word")** -   **[Reverse word](Reverse/Reverse-word.md)**

## 9 -  Medium

* **[9.1](Medium/Check-palindrome.md "Check palindrome")** -   **[Check palindrome](Medium/Check-palindrome.md)**
* **[9.2](Medium/Dictionary-of-cubes.md "Dictionary of cubes")** -   **[Dictionary of cubes](Medium/Dictionary-of-cubes.md)**
* **[9.3](Medium/Armstrong-number.md "Armstrong number")** -   **[Armstrong number](Medium/Armstrong-number.md)**
* **[9.4](Medium/Greatest-common-divisor.md "Greatest common divisor")** -   **[Greatest common divisor](Medium/Greatest-common-divisor.md)**
* **[9.5](Medium/Least-Common-Multiple.md "Least Common Multiple")** -   **[Least Common Multiple](Medium/Least-Common-Multiple.md)**

## [10](Programming-Contest.md "Programming Contest") -  [Programming Contest](Programming-Contest.md)

## 11 -  Simple Game

* **[11.1](Simple-Game/Guess-game.md "Guess game")** -   **[Guess game](Simple-Game/Guess-game.md)**
* **[11.2](Simple-Game/Rock-paper-scissor.md "Rock paper scissor")** -   **[Rock paper scissor](Simple-Game/Rock-paper-scissor.md)**
* **[11.3](Simple-Game/Cows-and-bulls.md "Cows and bulls")** -   **[Cows and bulls](Simple-Game/Cows-and-bulls.md)**
* **[11.4](Simple-Game/Cows-and-bulls(4digits).md "Cows and bulls(4digits)")** -   **[Cows and bulls(4digits)](Simple-Game/Cows-and-bulls(4digits).md)**
* **[11.5](Simple-Game/Word-completion.md "Word completion")** -   **[Word completion](Simple-Game/Word-completion.md)**
* **[11.6](Simple-Game/Word-hangman.md "Word hangman")** -   **[Word hangman](Simple-Game/Word-hangman.md)**

## 12 -  Harder

* **[12.1](Harder/Simple-Calculator.md "Simple Calculator")** -   **[Simple Calculator](Harder/Simple-Calculator.md)**
* **[12.2](Harder/Password-generator.md "Password generator")** -   **[Password generator](Harder/Password-generator.md)**
* **[12.3](Harder/Password-with-requirements.md "Password with requirements")** -   **[Password with requirements](Harder/Password-with-requirements.md)**
* **[12.4](Harder/Permutations.md "Permutations")** -   **[Permutations](Harder/Permutations.md)**
* **[12.5](Harder/Simple-Calculator.md "Generate Sentences")** -   **[Generate Sentences](Harder/Simple-Calculator.md)**

## 13 -  User Submitted

* **[13.1](User-Submitted/Simple-Clock.md "Simple Digital Clock")** -   **[Simple Clock](User-Submitted/Simple-Clock.md)**
* **[13.2](User-Submitted/Birthday-remaining.md "Birthday-remaining.md")** -   **[Birthday-remaining.md](User-Submitted/Birthday-remaining.md)**
* **[13.3](User-Submitted/Calculate-age.md "Calculate age")** -   **[Calculate age](User-Submitted/Calculate-age.md)**

> 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.

### Many solutions
Here 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.

Always keep an open mind to learn multiple solutions to solve a problem.

### Let’s Start
> Let’s start your journey. Let’s solve every problem you face.

*Let’s do it.*

 
[![Next Page](assets/next-button.png)](/Easy-ones/User-input-to-Number.md)
 

tags: `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`