๐Ÿฅท๐Ÿป Log in

16 exercises ยท 6 topics ยท free

Python Exercises for Beginners

Short practice problems from your first print() to FizzBuzz. Pick one and solve it in a real editor and terminal in your browser โ€” an AI mentor checks your output and hints when you're stuck.

New here? Start with Print Hello, World! Easy ๐Ÿ–จ๏ธ Printing ยท Write a program that prints exactly this line to the screen: Solve it in the browser โ†’
Your progress 0 / 16 solved
0/8 Easy 0/7 Medium 0/1 Hard
Difficulty 16 of 16
#ExerciseTopicsDifficulty
Solved them all? Keep going.

These 16 exercises are the first steps of a much longer road. The py.ninja roadmap takes you from the basics to building your own games and utilities โ€” 70+ interactive lessons, a browser IDE, and an AI mentor that checks your code.

Open the Roadmap