Here are some often recommended resources: Exercism , Hackinscience and Practicepython — these are all beginner friendly and difficulty levels are marked Adventofcode , Codewars , Python Morsels — includes more challenging exercises for intermediate to advanced level users Checkio , Codingame , Codecombat — gaming based challenges /r/dailyprogrammer — not active currently, but there's plenty of past challenges with discussions And here are some resources for projects: Projects with solutions — algorithms, data structures, networking, security, databases, etc Project based learning — web applications, bots, data science, machine learning, etc Books: The Big Book of Small Python Projects Tiny Python Projects /r/learnpython: What do you automate with Python at home? Answer from ASIC_SP on reddit.com
PYnative
pynative.com › home › python exercises
Python Exercises, Practice, Challenges [400+ Exercises] – PYnative
January 7, 2026 - 385+ Python coding exercises with solutions for beginners to advanced developers. Practice 20 topic-wise coding problems, challenges, and programs.
w3resource
w3resource.com › python-exercises
Python Exercises, Practice, Solution - w3resource
It includes 2029 main exercises, each accompanied by solutions, detailed explanations, and upto four related problems. ... Python is a versatile, high-level language known for its readability and concise syntax. It supports multiple programming paradigms, including object-oriented, imperative, and functional styles. It features dynamic typing, automatic memory management, and a robust standard library. This section is dedicated to practice exercises for those with beginner to intermediate Python skills.
Good Python Exercises?
Here are some often recommended resources: Exercism , Hackinscience and Practicepython — these are all beginner friendly and difficulty levels are marked Adventofcode , Codewars , Python Morsels — includes more challenging exercises for intermediate to advanced level users Checkio , Codingame , Codecombat — gaming based challenges /r/dailyprogrammer — not active currently, but there's plenty of past challenges with discussions And here are some resources for projects: Projects with solutions — algorithms, data structures, networking, security, databases, etc Project based learning — web applications, bots, data science, machine learning, etc Books: The Big Book of Small Python Projects Tiny Python Projects /r/learnpython: What do you automate with Python at home? More on reddit.com
Exercises foe a beginner to advance in python
Hey Brother, I appreciate your motivation for Python as a language and SQL as a database, I think that's a good combo to think about. Most of the exercises I've been exposed to came from necessity: like components of a project I wanted to conquer. If you (or anyone) are playing with the idea of learning data science related work, I can recommend taking a look at https://inferentialthinking.com/chapters/intro.html , it's a great online eli5 curriculum for learning data science and exploration. The exercises are through the lens of Python, and a UC Berkeley published package 'datascience'. It mirrors the functionality of Pandas for noobies in some respect. I like it anyway. Some of these I've played with in the past, but for real I just poked at CoPilot for some suggestions: Python Exercises: Machine Learning Plus - Python Exercises for Beginners: Python Exercises - Level 1 : This resource offers a variety of beginner-level Python exercises with solutions to help you practice basic concepts. PYnative: Python Exercises, Practice, Challenges : This site provides a wide range of Python exercises, from basic to advanced, along with solutions. CodeChef: Practice Python : Solve over 195 Python coding exercises online to boost your programming skills. Tech With Tim: 9 HOURS of Python Projects - From Beginner to Advanced : A comprehensive video tutorial with over 21 unique Python project walkthroughs. SQL Exercises: LearnSQL.com: Advanced SQL Practice: 10 Exercises with Solutions : This article provides challenging SQL exercises with detailed solutions to enhance your advanced SQL skills. Simplilearn: SQL With Python | Python Database Connectivity Tutorial : A video tutorial that covers SQL and Python database connectivity for beginners. Advanced SQL Tutorial With Examples : An advanced SQL tutorial with practical examples. PYnative: Python Database Programming Exercises : Practice Python database programming skills with step-by-step exercises using MySQL, PostgreSQL, or SQLite. EDIT: Spelling stuff weird. More on reddit.com
Looking for practice programming, through exercises, at an incremental level of difficulty
Websites for Python exercises from beginner to intermediate level?
Learn lists and dictionaries next. Then learn input. Exercise: make a basic login program that takes input from user — name and password. Check against dictionary and decide whether that person can log in More on reddit.com
Videos
53:00
Python Projects for Beginners – Master Problem-Solving! 🚀 ...
02:08:29
Learn Python Programming With 5 Beginner Python Exercises | 2h ...
08:01
Hello Python Exercise - Python Intro 1 - YouTube
20:16
6 Python Exercise Problems for Beginners - from CodingBat (Python ...
02:05:31
Practice Python with 100 Python Exercises - YouTube
06:09
Python Exercise and Solution | Python Tutorial #23 - YouTube
GeeksforGeeks
geeksforgeeks.org › python › python-exercises-practice-questions-and-solutions
Python Exercise with Practice Questions and Solutions - GeeksforGeeks
2 weeks ago - Function With Arguments · First Digit of a Number · Print GFG n times · For more problems and coding practices visit Python Functions Coding Practice Problems · List Traversal · Length of The List · Sum The List · Decrement List Values · Append To List · Less Than · Average · For more problems and coding practices visit Python List Exercise ·
Reddit
reddit.com › r/learnpython › good python exercises?
r/learnpython on Reddit: Good Python Exercises?
December 3, 2022 -
What's a good exercise for me to try? I've been learning Python for a bit over a month now and I wanna test what I've learned.
Top answer 1 of 20
242
Here are some often recommended resources: Exercism , Hackinscience and Practicepython — these are all beginner friendly and difficulty levels are marked Adventofcode , Codewars , Python Morsels — includes more challenging exercises for intermediate to advanced level users Checkio , Codingame , Codecombat — gaming based challenges /r/dailyprogrammer — not active currently, but there's plenty of past challenges with discussions And here are some resources for projects: Projects with solutions — algorithms, data structures, networking, security, databases, etc Project based learning — web applications, bots, data science, machine learning, etc Books: The Big Book of Small Python Projects Tiny Python Projects /r/learnpython: What do you automate with Python at home?
2 of 20
53
Advent of code is currently going. You could try yourself at some of its challenges
W3Schools
w3schools.com › python › python_exercises.asp
Python Exercises
Python Variables Variable Names Assign Multiple Values Output Variables Global Variables Variable Exercises Code Challenge Python Data Types
GitHub
github.com › rameshovyas › 30-Days-of-Python-Exercises
GitHub - rameshovyas/30-Days-of-Python-Exercises: Solutions to the exercises in 30-days-of-python repo | Python Coding Exercises Solutions | Python exercise repository | Python Solutions | Python Learning | Python Practice Exercises and Solutions · GitHub
Starred by 32 users
Forked by 12 users
Languages Python 99.5% | PowerShell 0.2% | JavaScript 0.1% | C 0.1% | CSS 0.1% | Batchfile 0.0%
PYnative
pynative.com › home › python exercises › python basic exercise for beginners: 40 coding problems with solutions
Python Basic Exercise for Beginners: 40 Coding Problems with Solutions
February 8, 2026 - Use Online Python Code Editor to solve exercises. Let us know if you have any alternative solutions in the comments section below. This will help other developers. ... Exercise 1. Arithmetic Product and Conditional Logic · Exercise 2. Cumulative Sum of a Range · Exercise 3. String Indexing and Even Slicing · Exercise 4. String Slicing and Substring Removal · Exercise 5. Variable Swapping (The In-Place Method) Exercise 6. Calculating Factorial with a Loop
GitHub
github.com › zhiwehu › Python-programming-exercises › blob › master › 100+ Python challenging programming exercises for Python 3.md
Python-programming-exercises/100+ Python challenging programming exercises for Python 3.md at master · zhiwehu/Python-programming-exercises
Solution: def f(n): if n == 0: return 0 elif n == 1: return 1 else: return f(n-1)+f(n-2) n=int(input()) print(f(n)) The Fibonacci Sequence is computed based on the following formula: f(n)=0 if n=0 f(n)=1 if n=1 f(n)=f(n-1)+f(n-2) if n>1 ·
Author zhiwehu
Practice Python
practicepython.org › exercises
Exercises and Solutions
Why Practice Python? Why Chilis? Resources for learners · Exercises · Blog · About · 1: Character Input · 2: Odd Or Even · 3: List Less Than Ten · 4: Divisors · 5: List Overlap · 6: String Lists · 7: List Comprehensions · 8: Rock Paper Scissors · 9: Guessing Game One ·
Invent with Python
inventwithpython.com › pythongently
Python Programming Exercises, Gently Explained - Invent with Python
Other tutorials and books have taught you the basics of Python, but the 42 programming exercises in this book let you practice what you've learned. Selected for their simplicity, these programming problems include gentle explanations of the problem, the prerequisite coding concepts you’ll need to understand the solution, and helpful templates to put together the programs if you have trouble starting from scratch.
GitHub
github.com › sushantkhara › Data-Structures-And-Algorithms-with-Python › blob › main › Python 3 _ 400 exercises and solutions for beginners.pdf
Data-Structures-And-Algorithms-with-Python/Python 3 _ 400 exercises and solutions for beginners.pdf at main · sushantkhara/Data-Structures-And-Algorithms-with-Python
Contribute to sushantkhara/Data-Structures-And-Algorithms-with-Python development by creating an account on GitHub.
Author sushantkhara
Reddit
reddit.com › r/learnpython › exercises foe a beginner to advance in python
r/learnpython on Reddit: Exercises foe a beginner to advance in python
October 17, 2024 -
Hi. I am looking for exercises in python and sql both in beginner level to advance. Can anyone suggest me some links for preparation.
Top answer 1 of 4
6
Hey Brother, I appreciate your motivation for Python as a language and SQL as a database, I think that's a good combo to think about. Most of the exercises I've been exposed to came from necessity: like components of a project I wanted to conquer. If you (or anyone) are playing with the idea of learning data science related work, I can recommend taking a look at https://inferentialthinking.com/chapters/intro.html , it's a great online eli5 curriculum for learning data science and exploration. The exercises are through the lens of Python, and a UC Berkeley published package 'datascience'. It mirrors the functionality of Pandas for noobies in some respect. I like it anyway. Some of these I've played with in the past, but for real I just poked at CoPilot for some suggestions: Python Exercises: Machine Learning Plus - Python Exercises for Beginners: Python Exercises - Level 1 : This resource offers a variety of beginner-level Python exercises with solutions to help you practice basic concepts. PYnative: Python Exercises, Practice, Challenges : This site provides a wide range of Python exercises, from basic to advanced, along with solutions. CodeChef: Practice Python : Solve over 195 Python coding exercises online to boost your programming skills. Tech With Tim: 9 HOURS of Python Projects - From Beginner to Advanced : A comprehensive video tutorial with over 21 unique Python project walkthroughs. SQL Exercises: LearnSQL.com: Advanced SQL Practice: 10 Exercises with Solutions : This article provides challenging SQL exercises with detailed solutions to enhance your advanced SQL skills. Simplilearn: SQL With Python | Python Database Connectivity Tutorial : A video tutorial that covers SQL and Python database connectivity for beginners. Advanced SQL Tutorial With Examples : An advanced SQL tutorial with practical examples. PYnative: Python Database Programming Exercises : Practice Python database programming skills with step-by-step exercises using MySQL, PostgreSQL, or SQLite. EDIT: Spelling stuff weird.
2 of 4
2
I would consider to build something. Just building stuff elevated my skills the most at some point. You learn so much.
Madhya Pradesh Bhoj Open University
mpbou.edu.in › uploads › files › Python_Workbook_Learn_How_to_Quickly_and_Effectively_Program_with_Exercises,_Projects,_and_Solutions_(Programming_Languages_Academy)_(1).pdf pdf
Python Workbook
It does take time for one to be fully familiar with the syntax, but once · you are familiar, you should have no trouble figuring this out. Visit any of the old exercises we did in the previous book. Try and match the · way the code was written to the ones presented here. You should have your ... Let us now begin a series of questions to test your understanding. Q-2: How can you check if you have Python 3.8.x installed on your
LearnPython.com
learnpython.com › blog › python-practice-exercises-for-beginners
10 Python Practice Exercises for Beginners with Solutions | LearnPython.com
October 16, 2023 - Some of these practice exercises have a few possible solutions, so also try to come up with an alternative solution after you’ve gone through each exercise. Let’s get started! Write a program that asks the user for a number then prints the following sentence that number of times: ‘I am back to check on my skills!’ If the number is greater than 10, print this sentence instead: ‘Python conditions and loops are a piece of cake.’ Assume you can only pass positive integers.
pychallenger
pychallenger.com
Python Exercises Online | Learn & Practice Python with Pychallenger
We offer a carefully designed mix of bite-sized lessons, Python coding exercises, and engaging quizzes. ... Run code example to continue! ... Run code example to continue! ... Learn new topics in small, compact lessons where new content is explained with real-world examples and information is given step-by-step in bite-sized pieces.
w3resource
w3resource.com › python-exercises › python-basic-exercises.php
Python Basic: Exercises, Practice, Solution - w3resource
May 17, 2025 - This resource offers a total of 750 Python Basic problems for practice. It includes 150 main exercises, each accompanied by solutions, detailed explanations, and four related problems.