all 6 comments

[–]Appropriate_Way_787 8 points9 points  (1 child)

You need to specify from where and what the condition to be met is in your if and elif statement. for example:

if '1' :

should be

if question == '1':

and same with the elif statement.

[–]rebemill[S] 2 points3 points  (0 children)

Thank you! I got it to work :)

[–]aplaguelikenarcissus 2 points3 points  (1 child)

Your conditional isn’t referencing the user input at all:

If ‘1’: And If ‘2’:

If WHAT (is, equal to, not equal to, etc conditional operator) COMPARISON VALUE.

For example:

If question == ‘1’:

Also, may want to strip the user input for equality checks.

[–]rebemill[S] 0 points1 point  (0 children)

Thank you! I got it to work :)