I’m trying to do:
raw_input("Anyone Home?")
But I’m getting syntax error! I’m using Python 3, is this another thing that one can only do in Python 2?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use:
That is a Python 3 command, while
is a Python 2 command
If the book that you are using only has Python 2 things, get a new book!