+ 3
Using if statement ?
Ok hey guys i need a bit of help i want to check 2 conditions in the same if statement !
5 Answers
+ 2
yea e.g. if x==5 and 5<6: ...
0
Use 'and'
Ex : if ... and ... :
:)
0
also
if(x==5 or 5<6):
do whatever
0
if (condition1 && condition2) {doit;
}
// you can use || (means "or" if ) or use && (means "and")
0
Python syntax error:
If color = str('black or white'), and woodType = str ('pine) :
Please correct my syntax