Ask coding questions

← Back to all posts
Python
KeeganMcGough (0)

print "You now have enough wood to make a tent (20) would you like to make a tent or get more wood"
elif (WoodCount < (20)
print "You do not have enough wood to buy anything yet answer another question."

Traceback (most recent call last):
File "python", line 21
print "You now have enough wood to make a tent (20) would you like to make a tent or get more wood"
^
SyntaxError: invalid syntax

https://repl.it/@KeeganMcGough/Survival
Why is it not working?

Commentshotnewtop
JoshDaBosh (77)

you're missing parenthesises

leon332157 (93)

You will need a ':' after each if/else statements.