On Fri, Apr 17, 2009 at 4:42 AM, mbikinyi brat <mbikinyi_b...@yahoo.com> wrote:
> Dear all,
> Here are two functions printme and change quite spaced apart. When executed
> the output in bold are joined. What can I do so that the results are
> separate in two blocks?

The format of the output depends only on the contents of the  print
statements, not on the arrangement of the code.

You can print a blank line with a plain
  print
statement or by including a newline '\n' in your output like this:
  print 'This is the first line\nThis is the second line'

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to