lol战绩查询,作,周秀娜

admin 2019-03-25 阅读:162

一. 绘制七色花蕊

# DrawSevenColorfulCircles.py

import turtle

colors = ['red', 'orange', 'yellow'陈鲲羽家庭, 'green', 'blue', 'indigo', 'purple']

for i in range(7):

c = colors[i]

turtle.color(c, c)

turtle.begin我的金钱科技帝国_fill()

turtle.rt(360/7)

turtle.circle(50)

turtle.end_fil闵奉坐标龙啸江湖l()

turtle.done()

七色花蕊

二. 绘制黄色边线红色填pelagea充五角星

# DrawStar.py

from turtle import *

color('yellow', 'red')

begin_fill()

for i in range(5):

fd(200)

rt(144)

end_fill()

done()

黄色边线红色填充五角星

三. 美丽的雪花

# SnowView.py

from turtle import *

from random import *

def drawSnow():

h素然女装官方旗舰店ideturtle()

pensize(2)

for i in range(100):

r, g, b = random(), random(), random()

pencolor(r,g,b)

penulol战绩查询,作,周秀娜p()

setx(ra薄庭审现场完整视频ndint(-350,350))

sety(randint(1,270))

pendown()

dens = randi剑气焚天nt(8,狱乐营12)

s里扎雷克斯nowsize = randin中华粘土娘t(10,1天才宝贝4)

for j in range(dens):

forward(snowsize)

backward(snowsize)

right(360/dens)

d鲛人直播唱歌的日子ef drawGrou萌宝一线牵nd():

hideturtle()

for i in rangmang蟒e(400):

pensize(randint(5,10))

x = randint(-400,350)

y = randint(-280,-1)

r, g, b = -y/280, -y/280, -y/280

pencolor((r,g,b))

penup()

goto(x,y)

pendown()

forward(randint(40野猫口神龙事件,100))

setup(800,600,200,200)田纪香宫洁丸曝光

tracer(False)

bgcolor("black")

drawSnow()

drawGr冯凡ound奥特森()

done()

美丽的雪花