Re: [Tutor] Functions output

2009-04-17 Thread Alan Gauld
"mbikinyi brat" wrote Here are two functions printme and change quite spaced apart. The spacing of the functions inside the source file has nothing to do with the output. Python reads the input file, ignores any spacing and executes any lines it recognises as code. When executed the o

Re: [Tutor] Functions output

2009-04-17 Thread Dave Angel
mbikinyi brat 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? ? #Function definition is here def printme(str): ??? "This prints a passed string into this fun

Re: [Tutor] Functions output

2009-04-17 Thread Kent Johnson
On Fri, Apr 17, 2009 at 4:42 AM, mbikinyi brat 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