Skip to content
Sign UpLog In
Profile icon

Justin West

@Justinwest27
  • CYOA

    Cover page
    Made with Python

    Is your personality also made out of disorders and mental illnesses?

    Recent comments (0)
  • Combo Menu, List Edition

    Cover page
    Made with Python

    Madness

    Recent comments (0)
Repls
Community
Justinwest27
Justinwest27
shared a Post
2 years ago
Is there a way to link two branches of code?
In my CYOA, one of the paths starts with the main character finding a green light, if they do they go down the ufo path. If they don't, they go down a
CYOA
Python
Coder100
Coder100
Ok, so I think you are going to have to change how you do things. def path_1(): print("...") def path_2(): print("...") def path12(): print("...") def path13(): print("...") def main(): print("choose some path") then you call it: path_2() main() This way allows you to rechoose paths and go all sorts of ways :D2 years ago
Coder100
Coder100
btw, this is wrong: image It will always return True because python thinks it is: if ufofourchoice == "console" or ("the console" or "Console"): instead, have: if ufofourchoice in "console", "the console", "Console": `2 years ago
Coder100
Coder100
Why are you tabs so weird lol2 years ago
Justinwest27
Justinwest27
shared a Post
3 years ago
I have been working on this for a while, ever since I started using python. I am still a newbie so go easy on me.
CYOA
Python