a +b ?

superpollo utente at esempio.net
Fri Jun 11 10:33:25 EDT 2010


Simon Brunning ha scritto:
> 2010/6/11 yanhua <gasfans at 163.com>:
>> hi,all!
>> it's a simple question:
>> input two integers A and B in a line,output A+B?
> 
> print sum(int(i) for i in raw_input("Please enter some integers: ").split())

LOL



More information about the Python-list mailing list