raw_input() is deprecated in python 3.1? [duplicate]
Question
Possible Duplicate:
Easy: How to use Raw_input in 3.1
in old style i can entering data with this function
Solution
raw_input is now input
per http://docs.python.org/dev/py3k/whatsnew/3.0.html
OTHER TIPS
raw_input
has been renamed to input
. The 2.x input
, which eval
'd the input, was removed.
You should use input()
instead, which uses the behavior of raw_input()
from 2.x.
in Python 3 you use input function
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow