difference between raw_input() and input()
baalu aanand
baaluaanand at gmail.com
Thu Aug 20 06:24:15 EDT 2009
Hi,
I have used both raw_input() and input() for a same input value.
But these gives different output.
I have listed below what actually I have done
>>> a = raw_input("===>")
===> 023
>>> a
'023'
I have given the same value for the input() but it gives 19 as
result
>>> a = input("===>")
===> 023
>>> a
19
Is there anything hide within this. Please illustrate the difference
between raw_input() and input()
Thanks in advance
Baalu
More information about the Python-list
mailing list