What is wrong with me code


when i type n its does not do anything and it is supposed to print the cia agent kill you

Can you please share a link to the repl so we can view the whole code?

https://replit.com/@PrestonCurtis1/Story#main.py

its supposed to be a choose your own adventure

So line 7 when you do str('Circuit') that returns a string with the contents of Circuit. To collect user input you would use input("Text displayed in the console")

so do i do input(“text”) or choice = input(text)
cause what i was doing was choice = input(“text”)

You would do choice = input("text") then do the rest of your program

yeah i thought thats what i was doing to begin with

oh i put to = signs so it was set it equal to it and not storing it thanks

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.