Intermediate Python Exercises
Congratulations on finishing the Beginner Python Exercises!
Here are the intermediate exercises. They are slightly more challenging and there are some bulkier concepts for new programmer, such as: List Comprehensions, For Loops, While Loops, Lambda and Conditional Statements.

Holy Python is reader-supported. When you buy through links on our site, we may earn an affiliate commission.
Choose the topics you'd like to practice from our extensive exercise list.
Exercise 1: .format() | (6)
Exercise 2: .join() | (5)
Exercise 3: .split() | (3)
Exercise 4: .strip() | (4)
Exercise 5: dir() | (3)
Exercise 6: Nested Data | (5)
Exercise 7: Conditionals – if | (7)
Exercise 8: For Loop | (9)
Exercise 9: While Loop | (4)
Exercise 10: Break & Continue | (2)
Exercise 11: Lambda | (9)
Exercise 12: zip() | (5)
Exercise 13: map() | (7)
Exercise 14: filter() | (6)
Exercise 15: sorted() | (8)
Exercise 16: List Comprehension | (7)
Exercise 17: Dict Comprehension | (3)
Exercise 18: help() | (/)
Exercise 19: Debugging | (/)
Exercise 20: pass | (4)
Congratulations! You’re almost there.
Good luck on this final stretch. Soon you will be a more refined & confident coder and your efforts will start paying off.
One question we encounter on the daily basis is “I think I learned lots of Python so far. What do I do next?” It’s a very understandable question when you’re new to computer programming so, we’ve created an article specifically to address that:
You can make a great life with coding, not just for you but also for the whole world and you will make it, if you stay at it! Guaranteed almost 100%.
We will continue providing premium, top-quality content to support you in this journey and to give back to the community.
Thank you so much for practicing with HolyPython.com.
FREE ONLINE PYTHON COURSES
Choose from over 100+ free online Python courses.
Python Lessons
Beginner Lessons
Simple builtin Python functions and fundamental concepts.
Intermediate Lessons
More builtin Python functions and slightly heavier fundamental coding concepts.
Advanced Lessons
Python concepts that let you apply coding in the real world generally implementing multiple methods.
Python Exercises
Beginner Exercises
Basic Python exercises that are simple and straightforward.
Intermediate Exercises
Slightly more complex Python exercises and more Python functions to practice.
Advanced Exercises
Project-like Python exercises to connect the dots and prepare for real world tasks.
Don’t forget to check out our Python Tutorials and News page. And, if you found Holypython.com useful please share it with others.