Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

dfxf

1
Posts
1
Followers
40
Following
A member registered Oct 28, 2016 · View creator page →

Creator of

Recent community posts

(2 edits)

The error I'm getting is "NameError: Choice1 not defined", I'm assuming Choice1 is supposed to be a function but it hasn't been defined. You could just use input(<string>) instead of writing a dedicated function (unless there is a reason you're doing that). Your next error is that you're are setting the variable "input" equal to the return of Choice1, but then using Choice1 in the if statement instead of "input". You probably should use a different name than "input", otherwise you will get an error the next time you call input(). Another problem is that you only check if the input is 'A', which won't be true if the user inputs 'a'. You can fix this by just changing the if statement to: "if <variable> == 'A' or <variable> == 'a':" Also, on line 8, you put Print instead of print. That appears to be the only problem with your code, so it should work fine after you fix those problems.