All Basic Python exercises with commented solutions. Three difficulty levels per topic — try to solve them yourself before checking the solution. Variables, operators, conditionals, loops and functions.
-
Variables and data types in Python — exercises with solutions and cheat sheet
You’ve seen the theory and practised with real code. Now it’s time for the moment of truth: solving exercises on your own. In this article you’ll find intermediate-level exercises on variables and data types in Python, a final challenge exercise that mixes everything from the topic, and a complete cheat sheet to keep handy. The method is simple:…
