0
Trying to assign true and false with a message
how can I add a message to true or false.
2 Respuestas
+ 1
Conditional statement:
print message
if True:
print("True message")
else:
print("False message")
+ 1
for b in (True, False):
print(('false', 'true')[b]) # true, false