prasoonthegreat at gmail.com
Tue Jun 16 11:32:31 CEST 2009
I am new to python....and using python 2.6
I want to know when to use raw_input( ) and when to use input( )???
According to my interpretation one should use input( ) when entering
numbers etc and
raw_input( ) when a string is too be entered.....
Correct me if I am wrong....
Also if I want to enter two numbers 'a' and b such that while entering
them through the keyboard
there is a space between the two...
>>>Enter two numbers:
Can I use input( ) such that 12 gets accepted in 'a' and 15 in 'b'????
I mean how to handle spaces???/
More information about the Python-list