2010/6/11 yanhua <[email protected]>: > 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())
--
Cheers,
Simon B.
--
http://mail.python.org/mailman/listinfo/python-list
