Ask coding questions

← Back to all posts
I need help I have an error I don't know how to fix!
Icekit (62)

I have an error in my story thou I don't I don't know how to fix it and what is wrong with it!

Answered by Codejira (166) [earned 5 cycles]
View Answer
Codejira (166)

Line 15 must be something like path3 = input("jaguar encounter")

Then line 16 must be an indented if clause on its own.

As it is now, on Path 1 the program terminates after printing the jaguar encounter. The following elifs are ignored.

Also you should offer options to choose from, or at least make expected input more obvious.

Icekit (62)

no i dont think so