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