Python Programming Basics
print(), loops, lists, and a language named after a comedy show. Check your grasp of Python fundamentals with this beginner-friendly coding quiz.
12
questions
~6 min
to play
3
question types
Free
to host
Host this quiz liveAssign as homeworkEdit a copy
Free account. Students just need the PIN.Have a game PIN?→
Questions in this quiz
All 12 shown. Answers not revealed.
Which function displays text on the screen in Python?
Multiple Choice · 20s
Aecho()Bwrite()Cshow()Dprint()Which of these is a valid Python variable name?
Multiple Choice · 20s
A2coolBmy_scoreCmy-scoreDclassWhat does len("hello") return?
Multiple Choice · 20s
A4B6C0D5- Python uses indentation (spaces at the start of a line) to group blocks of code.True / False · 20s
- Which keyword starts a loop that goes over each item in a list?Multiple Choice · 20s
- Which built-in function reads what the user types on the keyboard? (one word)Type Answer · 30s
- What data type is the value True in Python?Multiple Choice · 20s
- In Python, "3" + "4" gives "34" because both values are strings.True / False · 20s
- Which of these creates a list in Python?Multiple Choice · 20s
- What is the result of 2 ** 3 in Python?Multiple Choice · 20s
- Which keyword defines a new function in Python? (one word)Type Answer · 30s
- What is the Python language named after?Multiple Choice · 20s
Want to run this with your class?
Create a free account to host it live, assign it as homework, or copy it and change the questions.
Sign up free. No card needed.SheelonReport this quiz