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 [800+ Exercises] – PYnative
801 Python coding exercises with solutions for beginners to advanced developers. Practice 29 topic-wise coding problems, challenges, and programs.
🌐
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.

Python practice website : r/learnpython Aug 23, 2022
r/learnpython
3y ago
Exercises to learn Pandas Dec 5, 2020
r/learnpython
5y ago
good websites for python exercises? : r/learnpython May 14, 2022
r/learnpython
4y ago
Ideas for interesting dict exercises. May 15, 2014
r/Python
12y ago
Learn Python by solving problems Apr 17, 2024
r/learnpython
2y ago
More results from reddit.com
🌐
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
🌐
Mimo
mimo.org › blog › 15-python-exercises-for-absolute-beginners
15+ Python Assignments for Absolute Beginners (with Solutions and Explanations)
January 27, 2026 - Python string exercises with solutions: A selection of Python assignments to help you understand strings
🌐
Reddit
reddit.com › r/learnpython › resource: python exercises, practice problems and solutions for beginners
r/learnpython on Reddit: Resource: Python Exercises, Practice Problems and Solutions for Beginners
July 17, 2018 -

Hey guys, I am new to Python and programming in general. I started learning Python with the help of a few great book suggestions (beginners: take a look at the Learning Resources link to the left) and an online course. One thing that was frustrating to me was that I felt that I needed to solve more problems, that the concepts were unclear but there were few/no exercises to evaluate myself with.

Today I found this: Python Exercises, Practice, Solution | w3resource

This is exactly what I was looking for. I think this will be very helpful for beginners like me, particularly in cases where you don't have a classroom/mentor to discuss problems with. Sorry if this is already covered in Learning Resources or any sticky threads.

Top answer
1 of 5
44
If you're aiming to improve your problem solving skill try the following sites: codesignal.com | www.coderbyte.com | www.codewars.com With that being said, above all, it’s important that you learn to think like a programmer! The bellow paragraphs is a VERY important concept extracted from Jean Paul Knight book titled: “LEARN PYTHON WITH NO PROGRAMMING EXPERIENCE” [ a book that I will strongly suggest you to buy an read ] There is a way that programmers think that is different from the rest of the world. If you want to understand functions and other programming concepts, you must have the right mindset. Why is it important to think like a programmer? Before we go deeper into functions and other Python concepts, we must look at a crucial mindset. The mindset of a programmer. When you have this mindset, you will find it much easier to bridge the gap between beginner and intermediate. You will also be able to quickly remove any mental block that cause you to struggle. On the other hand, without the right mindset you may find yourself stuck way too often. You may find it hard to progress beyond tutorials. In particular, it may be hard to start making your own programs. Worse still, documentation ( often badly written ) will be enough to stop you in your tracks. There is another reason why having the right mindset is important. If you are using Python to automate stuff, you’ll be more likely to find quick solutions. If Python is required for you job, you will write code that impresses your peers, and more importantly your boss. Even if you code for yourself, the right kind of thinking will make your work easier, faster, and more efficient. Don’t skip the mindset bit! I believe the biggest reason why people get stuck in “newbie” mode is not understanding how programming works. Let’s take a deeper look. What does thinking like a programmer mean? For the purpose of this guide, we will use a very simple defition. A programmers mindset is a way of thinking that focuses on creating useful and practical solutions to problems. It means you grasp the basic fundamentals that make you a good programmer. The challenge is, that the programmers mindset doesn’t have much to do with coding. That’s what trips up many beginners. For instance, many people spend a lot of time on syntax. It’s kind of like putting on a stage show. The hard work happens during the reahersals, behind the scenes. Then, When it comes to programming, most of your work happens before you start up your favorite code editor. The biggest mistake beginners make is… …focusing too much on the code. Yet, there are two skills that will make you a master - neither of them involve writing code. They are: Knowing how to learn Knowing how to solve problems. Great programmers always keep learning. There is no programmer who knows it all. So, as you progress you will always find yourself learning new libraries. You will also discover new concepts along the way. The key to becoming better is accepting that you’ll always be a learner. For this reason, you need to have skills that allow you to learn quickly. The other keys is knowing how to solve problems. When it comes to problem solving, the computer is not your best friend. In fact, the computer is your servant but we’ll come back to that later. Your true best friend is a piece of paper ( and a pen! ) As a good programmer, you’ll need to be able to solve problems using pen and paper. Then, once you’ve solved the problem, you use the solution as your guide when writing the code. “OK, so what happens next?” Next we’re going to mix up learning Python with learning the right mindset. That way, you’ll naturally absorb the concepts you need to grasp. As a result, you’ll become better at using functions. At the same time, your overall programming skills will go to the next level. Let’s go! It’s time to discover why you need functions in the first place… Support the Author by getting his book HERE
2 of 5
9
https://projecteuler.net/ " Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems. The motivation for starting Project Euler, and its continuation, is to provide a platform for the inquiring mind to delve into unfamiliar areas and learn new concepts in a fun and recreational context. "
🌐
HackerRank
hackerrank.com › domains › python
Solve Python Code Challenges
A step by step guide to Python, a language that is easy to pick up yet one of the most powerful.
🌐
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...
Find elsewhere
🌐
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.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-exercises-practice-questions-and-solutions
Python Exercise with Practice Questions and Solutions - GeeksforGeeks
May 16, 2026 - Your All-in-One Learning Portal. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
🌐
DataCamp
datacamp.com › tutorial › python-exercises-for-beginners
Python Exercises for Beginners: A Hands-On Guide With Answers | DataCamp
March 24, 2026 - Solve beginner‑friendly Python exercises, starting with simple variables and building up to functions, data structures, and guided projects.
🌐
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
Write Python code directly in your browser and tackle our innovative Coding Challenges to apply what you learned in previous lessons. Solve Python Exercises that gradually increase in difficulty. ... Did you master all exercises of a specific topic? Then you are ready to level up! Challenge yourself with a Python Quiz and correctly answer all the questions to complete a topic.
🌐
Quora
quora.com › I-need-urgent-help-I-have-an-exercise-on-Python-and-don-t-know-how-to-do-it-Where-should-I-look-for-help
I need urgent help. I have an exercise on Python and don’t know how to do it. Where should I look for help? - Quora
Answer: Break the problem down and identify things you know how to do and things you don’t. Search for things you don’t know, first using a Python specific search, and if you don’t find anything, use a non-specific search. The reason is that Python has some very handy short-cuts for some ...
🌐
w3resource
w3resource.com › python-exercises › python-basic-exercises.php
Python Basic: Exercises, Practice, Solution - w3resource
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.
🌐
w3resource
w3resource.com › python-exercises › list
Python List - Exercises, Practice, Solution - w3resource
Python List Exercises, Practice and Solution - Contains 280 Python list exercises with solutions for beginners to advanced programmers. These exercises cover various topics such as summing and multiplying items, finding large and small numbers, removing duplicates, checking emptiness, cloning ...
🌐
PYnative
pynative.com › home › python exercises › python list exercises: 45 coding problems with solutions
45 Python List Coding Exercises with Solutions – PYnative
June 13, 2026 - Practice Python lists with 45 exercises covering list manipulations/operations, slicing, sorting, comprehensions, and advanced list manipulation with solutions.
🌐
w3resource
w3resource.com › python-exercises › python-conditional-statements-and-loop-exercises.php
Python conditional statements and loops - Exercises, Practice, Solution - w3resource
Learn about Python conditional statements and loops with 44 exercises and solutions. Practice writing code to find numbers divisible by 7 and multiples of 5, convert temperatures between Celsius and Fahrenheit, guess numbers, construct patterns, count even and odd numbers, and much more.