MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/pythonhelp/comments/l1yf76/pythonapache_what_exactly_am_i_doing_wrong_i_want/
r/pythonhelp • u/TechAddictionPro • Jan 21 '21
1 comment sorted by
1
You need to define the variable `answer` before your if statement. Your variable only gets created if the car is a volvo, meaning every other time that the car ISNT volvo, the variable is undefined.
1
u/ryanrocket Jan 28 '21
You need to define the variable `answer` before your if statement. Your variable only gets created if the car is a volvo, meaning every other time that the car ISNT volvo, the variable is undefined.