0

While learning Python I stumbled upon a conditional statement that doesn't have a full condition and I can't seem to figure out the use.

if number: print ("2")

What is being compared to number? I can't seem to figure out when it's true and when it's false.

0 Answers0