ProgrammingHero1/100-plus-python-coding-problems-with-solutions
关于
面向初学者和中级开发者的 Python 编程题列表。
学习与教育实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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 - Convert input
- 1.2 - Math power
- 1.3 - Random Number
- 1.4 - Floor Division
- 1.5 - Temporary variable
2 - Number Related
- 2.1 - Max of two
- 2.2 - Max of three
- 2.3 - Average of numbers
- 2.4 - Divisible by 3 and 5
- 2.5 - Sum of digits
3 - Loop Related
2 - Number Related - 6-10
3 - Loop Related - 11-16
4 - Conversions
- 4.1 - Miles to Kilometers
- 4.2 - Celsius to Fahrenheitt
- 4.3 - Decimal to binary
4 - Conversions - 17-21
- 4.1 - Miles to Kilometers
- 4.2 - Celsius to Fahrenheitt
- 4.3 - Decimal to binary
- 4.4 - Decimal to binary (recursive)
- 4.5 - Binary to decimal - Premium Access
5 - Solution Strategy
6 - Computations
- 6.1 - Simple Interest
- 6.2 - Complex Interest
- 6.3 - Calculate Grades
- 6.4 - Gravitational Force
- 6.5 - Triangle Area
7 - Prime number
8 - Reverse
- 8.1 - Reverse String
- 8.2 - Reverse String (stack)
- 8.3 - Reverse String (recursive)
- 8.4 - Reverse Number
- 8.5 - Reverse word
9 - Medium
- 9.1 - Check palindrome
- 9.2 - Dictionary of cubes
- 9.3 - Armstrong number
- 9.4 - Greatest common divisor
- 9.5 - Least Common Multiple
10 - Programming Contest
11 - Simple Game
- 11.1 - Guess game
- 11.2 - Rock paper scissor
- 11.3 - Cows and bulls
- 11.4 - Cows and bulls(4digits)
- 11.5 - Word completion
- 11.6 - Word hangman
12 - Harder
- 12.1 - Simple Calculator
- 12.2 - Password generator
- 12.3 - Password with requirements
- 12.4 - Permutations
- 12.5 - Generate Sentences
13 - User Submitted
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.
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
探索相关项目
加载中…
