+ 1
I don't understand the if statement
weird
4 Answers
+ 1
Thank you to all! Now I understand.
0
condition is a logical condition that can be True or False ( Ex : 1+1 is equal to 2 ? True)
if condition :
#Do Staff if the condition is True
0
if(statement) {code which will run if the statement is true}. the statement may be something like 3 = 3., which is true. but it can also be x => y (x is greater then or equal to y)
0
just calm down and go through it step by step