Check your understanding of the previous reading: 36 expressions to classify as True or False, according to the rules of Truthiness in Python. The source quiz drew 12 of these at random per attempt; here they are all, grouped into six sets of six.

Question 1

Would Python treat this expression as truthy in an if statement?
"0"
1 > 5 or 3
" "
0.0
"Corgis are cute"
""

Question 2

Would Python treat this expression as truthy in an if statement?
-5.0
-0
0.01
-12332
134342
144

Question 3

Would Python treat this expression as truthy in an if statement?
1
0
''
"False"
'"'
"True"

Question 4

Would Python treat this expression as truthy in an if statement?
"1 > 5"
8-4*2
1+0
1/2
False
None

Question 5

Would Python treat this expression as truthy in an if statement?
"Hermione"[4:4]
"Harry"[1:-1]
"Harry"[0]
"".upper()
"".upper
"HI".lower()

Question 6

Would Python treat this expression as truthy in an if statement?
1 or 0
1 and 0
-5 and 5
-1 < 4 and 0
5 < 4 and 3
"Hi" and "Low" and ""