0
I m confuse in if statment
if statment
8 Respostas
+ 8
if statement == thing:
print("confused")
+ 6
sio badisicicallyly
+ 6
hoi
+ 5
If statements work with true or false.
If the statement is true the indented codeblock will be executed, if not true the indented block will be skipped.
Remember that one = sign is to set a value, two == signs is used when compairing.
example:
x = 20
y = 10
if x == y:
print ("The statement is true")
else:
print ("The statement is false")
Does this help?
0
hi there fellow visitor
- 1
so basdiucally
- 2
hi people of planet earth
- 2
hi alien,do u come in peace or with ure intellegence