How can I write this C code in Python?

Jason Orendorff jason at jorendorff.com
Sat Feb 2 10:16:32 EST 2002


Fred wrote:
> I think if I could see the below C code done in Python it
> would get me over the beginners hump.

for i in range(1, 13):
    for j in range(1, 13):
        print "%4d" % (i*j),
    print

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list