HOW do you stop a print???

john boy xray_alpha_charlie at
Mon Nov 14 03:54:28 CET 2005

ok...I am running the following program:
def printMultiples (n):
     i = 1
     while i <= 6:
     print n*i,   ' \t ',
     i = i + 1
i = 1
while i <= 6:
     i = i + 1
this is supposed to return a simple multiplication table, but for some reason it does not want to stop printing after 6 columns...instead it prints from left to right for a total of 10 columns...I need some sort of a "stop print" after the first 6 columns and then continue to fill in those columns...Can anybody solve this problem?...

 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list