Hi.

I have a minor prolem:

I'm going through the sage tutorial and I got a little problem when I try to
create a simple table. I'm trying to do what is going here:

http://www.sagemath.org/doc/tutorial/tour_help.html#functions-indentation-and-counting

when I put the following commands:

for i in range (1,5):
    print '%6s %6s %6s'%(i, i^2, i^3)

I get this output:

0      0      0

     1      1      1
     2      4      8
     3      9     27
     4     16     64


when I should get the following:

     0      0      0
     1      1      1
     2      4      8
     3      9     27
     4     16     64

What is wrong?

Thanks

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to