And Seek


Hello, I am completing this section in CC and Python 3. The following code works in CC, but generates an error in Python. Any suggestions?

guess_row = int(raw_input("Guess Row: "))
guess_col = int(raw_input("Guess Col: "))

Python 3 error:
guess_row = int(raw_input("Guess Row: "))
NameError: name 'raw_input' is not defined


In Python 3, raw_input is now input.


Thanks @datfatcat. Error is now gone


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.