求教各位高手
小妹python新手,
今天練習寫了用turtle跑99乘法表,
內容如下:
import turtle
y = 40
for i in range(1,10):
turtle.penup()
turtle.goto(-200, y)
turtle.pendown()
x = str(i) + " |"
y = y-25
for j in range(1,10):
x = x + format(i * j, ">6d")
turtle.write(x, font=("Arial",14,"normal"))
但跑出來的結果前三行總是無法對齊,
求解,感激不盡!!!!