分享至
九九乘法表範例
#!/usr/local/bin/python for i in range(1,10): for j in range(1,10): print "%d*%d=%s" % (i,j,i*j), print ""
IT邦幫忙