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:
     printMultiples(i)
     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?...
-thanks-


Yahoo! FareChase - Search multiple travel sites in one click.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to