why cant i have an and in my if statements?

Viewed 24

if r >=4 and <=6:

syntax error by the = before the 6 (python thonny imported list:random), I have tried switching it around, I have tried using && instead but it all seems to point at the = sign each time.

0 Answers
Related