← Quiz: Python Variables and Data Types: all 15 questions
Quiz: Python Variables and Data Types · Question 5 of 15
Which value is "falsy" in Python?
Which value is "falsy" in Python?
- A."False"
- B.[0]
- C.0
- D." "
Answer & explanation
Correct answer: 0
0 is falsy. "False", [0] and " " are non-empty, so they are truthy.
Can you get the rest right without peeking?
Take the timed Quiz: Python Variables and Data Types quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →