New! Explore our Programming Academy and AI Tutor - learn to code from scratch, free to start. Explore Now

Python Basics Quiz

Variables, loops and functions in Python.

Pass mark: 50% · 4 questions

1. What does print(2 + 3) output?
2. Which is a Python dictionary?
3. What range does range(1, 6) cover?
4. How do you define a function?