Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. print('Choicesn1-Option 1n2-Option 2n3-Option 3')
  2.  
  3.  
  4. if choose =='1':
  5. print('The account is 5+5')
  6. elif choose =='2':
  7. print('The account is 6+6')
  8. elif choose =='3':
  9. print('The account is 7+9')
  10.  
  11.  
  12. else:
  13. print('You choose none options')
  14.  
  15. Traceback (most recent call last):
  16. File "main.py", line 11, in <module>
  17. if choice =='1':
  18. NameError: name 'choice' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement