I need help I don't know where I went wrong

Question:

Current behavior:

Desired behavior

Repl link:

code snippet

link is here https://replit.com/@LeonJoshi/ThriftyGloriousOolanguage#main.py

Hey @LeonJoshi,

you have a problem in line 15 you’re missing 2 spaces, there’s a : after the elif so your final code should look like this :

print('=========================================')
print('          Battle of the cs               ')
print('=========================================')
print('                                         ')
print('                                         ')
print('Battle for CS menu')
print('1: Rules')
print('2: Play')
print('3: Exit ')
menu =input('Please enter the option you want:  ')
print('Thank you for playing Battle for CS')
if menu =='1':
  print('You have selected option 1')
elif menu == '2':
  print('You have selected option 2')
3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.