0
Can I get some help with Booleans?
5 Réponses
+ 1
Ofcourse
0
I’m not exaxtly sure how to get them started off.. like HOW would I know, off the top of my head to use bool?
0
my apologies.. i’m very VERY new to this.
0
Booleans self are very simple, because they can only be one of 2 different values: True and False, but how to use them will require some practice, but it all will make sense.
Booleans are created by expressions. You can think someone told you that "Cows can fly.", that's a sentence, which can either be true or false.
You can use that boolean information to run a certain pieces of code, when an expression is true.
if "Cows can fly.":
print("How can cows fly?")