newbie help needed

john boy xray_alpha_charlie at yahoo.com
Mon Nov 14 17:26:07 CET 2005


I am running the following program:
 
def print Multiples (n, high):
    i = 1
    while i <= high:
         print n*i, ' \t' ,
         i = i + 1
    print
def printMultTable (high):
     i = 1
     while i <= high:
         print Multiples (i, high)
         i = i + 1
printMultiples(8,8)
printMultTable(8)
 
 
Basically this program prints the correct multiplication table but instead of having just 8 rows it has 9 with the top row consisting of multiples of 8 then below the top row is a normal multiplication table...How can I get rid of the top row?

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051114/9e3dc497/attachment.html>


More information about the Python-list mailing list