[Tutor] Help with input/output

Kent Johnson kent37 at tds.net
Tue Mar 25 20:17:10 CET 2008

Olexander wrote:
> Hello,
> please could you help me with input processing for olympiad problems.

Do you know how to read and write files? This is covered in every Python 
book and tutorial.

What have you tried? What problems are you having?

> I also wonder how to output several integers in one line.

Again, this should be covered in a tutorial, but for example
print 1, 2, 3

outputs three integers.


More information about the Tutor mailing list