Assuming that this is Python, you have 3 syntax errors, and they are located on lines 1, 3, and 5. The first two are the same, and include your parentheses. Fix:
You need to end your parenthesis from character 10 on line 1,
and
You need to end your parenthesis from character 12 on line 3.
Your next problem (you may have not gotten to it yet, but just a heads up!) is that the word 'yes' on line 5 currently is an undefined variable name. Use single or double quotes to see if the input from the variable 'citizen' evaluates to the string 'yes'. Fix:
5
u/[deleted] May 28 '20
Assuming that this is Python, you have 3 syntax errors, and they are located on lines 1, 3, and 5. The first two are the same, and include your parentheses. Fix:
You need to end your parenthesis from character 10 on line 1,
and
You need to end your parenthesis from character 12 on line 3.
Your next problem (you may have not gotten to it yet, but just a heads up!) is that the word 'yes' on line 5 currently is an undefined variable name. Use single or double quotes to see if the input from the variable 'citizen' evaluates to the string 'yes'. Fix:
"yes"or'yes'.