以下是我的代码:
randomOne = int(str(raw_input('Enter the first number.')))
randomTwo = int(str(raw_input('Enter the second number.')))
我总是收到此错误消息:
Traceback (most recent call last):
File "C:/Users/*****/Desktop/Pythons/randomNumberGenerator.py", line 5, in <module>
randomOne = int(str(raw_input('Enter the first number.')))
NameError: name 'raw_input' is not defined
如果我可以得到一些帮助,我根本不明白发生了什么?