码迷,mamicode.com
首页 > 其他好文 > 详细

一个有意思的代码,无限圈圈乌龟

时间:2018-11-28 15:49:20      阅读:320      评论:0      收藏:0      [点我收藏+]

标签:乌龟   mode   from   cer   and   speed   mod   range   ack   

# import turtle as t
# from random import randint as rint
# t.shape(‘turtle‘)
# t.pensize(5)
# t.colormode(255)
# t.bgcolor(‘black‘)
# t.tracer(False)
# for x in range(700):
# t.color(rint(0,255),rint(0,255),rint(0,255))
# t.circle(2*(1+x/4),10)
# t.speed(100)
# t.tracer(True)

一个有意思的代码,无限圈圈乌龟

标签:乌龟   mode   from   cer   and   speed   mod   range   ack   

原文地址:https://www.cnblogs.com/dragonff/p/10031804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!