yousefissa / Twitter-Follow-and-Unfollow-Bot

A bot that allows you to follow and unfollow users on twitter. Also allows you to do many other things.
119 stars 40 forks source link

Enter Yes or No 'not definded' #9

Closed ghost closed 6 years ago

ghost commented 6 years ago

I have Python 2.7.12 and keeping getting this error. YOU NEED PYTHON 3 TO MAKE THIS WORK !!!!!

Enter the number of the action that you want to take: 2
Input their name. Do not use an @ sign. For example, for @POTUS, input just POTUS: nittaemi85
Do you want to keep going? Enter yes or no. 
yes
Traceback (most recent call last):
  File "twitterBot.py", line 344, in <module>
    main_menu()
  File "twitterBot.py", line 67, in main_menu
    Continue()
  File "twitterBot.py", line 328, in Continue
    keep_going = input('Do you want to keep going? Enter yes or no. \n'
  File "<string>", line 1, in <module>
NameError: name 'yes' is not defined