This code prints output in rows like this: ****** ****** ****** How to make print in blocks like this? ***** ***** ****** ***** ***** ****** ***** ***** *****
start= int (raw_input("StartTable?")) upperlimit= int (raw_input ("FinalTable?")) cycle= start while cycle <= upperlimit: .......table= cycle .......counter= 0 .......while counter < 10: ..............counter= counter + 1 ..............print table, "X", counter, "=", counter * table .......cycle= cycle + 1 The program prints multyply tables like this 4 X1 = 4 4 X2 = 8 5 X 1= 5 5 X 2= 10 6 X1= 6 6 X2= 12 etc. And needs to print like this: 4 X1 = 4.....5 X 1= 5...... 6 X 1= 1 4 X2 = 8..... 5 x 2=10..... 6 X 2= 12 Thanks in advance for any help -- http://mail.python.org/mailman/listinfo/python-list