Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python run error in calling raw_input for SurveyProject/surveyproject_pt1.py #5

Open
mchesler613 opened this issue Jul 7, 2019 · 0 comments

Comments

@mchesler613
Copy link

mchesler613 commented Jul 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant