+ 2
What's wrong with this?
I started my text adventure and I got to this part and this pops up: if e >= 0 and <= 5: SyntaxError: invalid syntax What is wrong?
4 Respostas
+ 6
u need to put something before <= 5 like this
if e >= 0 and e <= 5:
+ 5
With Python, you can shorhand this kind of statement in a more 'natural' way:
if 0 <= e <= 5:
... or obviously:
if 5 >= e >= 0:
:)
+ 3
np
+ 2
Thanks Alot! my part of the game works Now! Thx Alot!