1,下载Sublime Text 3

链接:http://pan.baidu.com/s/1eROBpB0 密码:cqjr

2,安装

注意安装时去掉捆绑的软件安装选项,有两处。

使用Sublime Text 3 编写python

使用Sublime Text 3 编写python

3,安装完成打开软件,新建.py文本,输入文本

from turtle import *
fillcolor("red")
begin_fill()
while True:
    forward(200)
    right(144)
    if abs(pos()) < 1:
        break
end_fill()

4,ctrl+B运行

 

相关文章:

  • 2021-09-20
  • 2021-11-23
  • 2021-05-02
  • 2021-12-03
  • 2021-05-10
  • 2021-10-29
  • 2021-12-09
  • 2022-01-19
猜你喜欢
  • 2021-11-17
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-12-28
相关资源
相似解决方案