📜  如何在 python 代码示例中更改海龟形状

📅  最后修改于: 2022-03-11 14:45:09.077000             🧑  作者: Mango

代码示例2
>>> tp = turtle.pos()
 >>> tp
 (0.00,0.00)
 >>> turtle.setpos(60,30)
 >>> turtle.pos()
 (60.00,30.00)
 >>> turtle.setpos((20,80))
 >>> turtle.pos()
 (20.00,80.00)
 >>> turtle.setpos(tp)
 >>> turtle.pos()
 (0.00,0.00)