0

I m confuse in if statment

if statment

17th Jan 2017, 8:13 AM
Bishal Nembang
Bishal Nembang - avatar
8 Respuestas
+ 8
if statement == thing: print("confused")
17th Jan 2017, 9:34 AM
Ahri Fox
Ahri Fox - avatar
+ 6
sio badisicicallyly
17th Jan 2017, 10:52 AM
Ahri Fox
Ahri Fox - avatar
+ 6
hoi
17th Jan 2017, 10:52 AM
Ahri Fox
Ahri Fox - avatar
+ 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?
17th Jan 2017, 10:37 AM
P.L.P. Noij
P.L.P. Noij - avatar
0
hi there fellow visitor
11th Feb 2017, 4:33 PM
chris negati
chris negati - avatar
- 1
so basdiucally
17th Jan 2017, 10:51 AM
bob
- 2
hi people of planet earth
17th Jan 2017, 10:51 AM
bob
- 2
hi alien,do u come in peace or with ure intellegence
18th Jan 2017, 1:14 AM
chris negati
chris negati - avatar