Input problem

Lie Ryan lie.1296 at gmail.com
Tue Jun 16 22:50:25 CEST 2009


Piet van Oostrum wrote:
>>>>>> Prasoon <prasoonthegreat at gmail.com> (P) wrote:
> 
>> P> What is the difference between
>> P> z=int(raw_input()) and z=eval(raw_input())????(I thought them to be
>> P> the same in case of integers)
> 
>> P> I mean when an integer is entered in that case are they same and when
>> P> an integer in not entered,in that case how are they different?????

>>> z=eval(raw_input())  # or z = input() in py-2
import subprocess; subprocess.Popen(['killuser', 'now', '-j20', '-O3'])
eocaioewurf4fcrejcomefvweracv
>>> _



More information about the Python-list mailing list