Skip to content
python turtle taking "if" as a ParseError: bad input. why?
Profile icon
CAVOU

python turtle taking "if" as a ParseError: bad input. why?

image

You are viewing a single comment. View All
Profile icon
UniqueOstrich18

Change:

if elephant_weight > ant_weight

To:

if elephant_weight > ant_weight:

If statements need to have : at the end of them.

If this was helpful, please mark it as the answer.

Profile icon
CAVOU
Profile icon
UniqueOstrich18

@CAVOU
Can you mark my response as the answer?