You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a Python run error in calling raw_input for SurveyProject/surveyproject_pt1.py as follows: Traceback (most recent call last): File "surveyproject_pt1.py", line 25, in <module> response = raw_input(survey[x] +": ") NameError: name 'raw_input' is not defined
By replacing raw_input() with just input(), I was able to execute the program w/o any error.
Since raw_input() is being called for the other 3 parts of the project, I had to replace it there too. Thanks for your attention.
The text was updated successfully, but these errors were encountered:
I encountered a Python run error in calling raw_input for SurveyProject/surveyproject_pt1.py as follows:
Traceback (most recent call last): File "surveyproject_pt1.py", line 25, in <module> response = raw_input(survey[x] +": ") NameError: name 'raw_input' is not defined
By replacing raw_input() with just input(), I was able to execute the program w/o any error.
Since raw_input() is being called for the other 3 parts of the project, I had to replace it there too. Thanks for your attention.
The text was updated successfully, but these errors were encountered: