<<--B站..........欢迎来到DGX的博客..........GitHub-->>

我的B站
上一页 1 ··· 4 5 6 7 8
摘要: 1 #https://www.cnblogs.com/yeu4h3uh2/ 2 3 import turtle 4 5 turtle.pensize(8) 6 turtle.pencolor("yellow") 7 turtle.fillcolor("red") 8 9 turtle.begin_f 阅读全文
posted @ 2020-03-17 20:28 DG息 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 1 import turtle 2 import time 3 4 turtle.pensize(1) 5 turtle.pencolor("black") #画笔黑色 6 turtle.fillcolor("red") #内部填充红色 7 #绘制五角星# 8 turtle.begin_fill() 阅读全文
posted @ 2020-03-14 14:16 DG息 阅读(1052) 评论(0) 推荐(1) 编辑
摘要: 1 import turtle 2 turtle.screensize(800,800,"brown") 3 turtle.setup(800,500,100) 4 turtle.penup() 5 turtle.fd(-100) 6 turtle.pendown() 7 turtle.pensiz 阅读全文
posted @ 2020-03-11 14:35 DG息 阅读(1193) 评论(0) 推荐(1) 编辑
摘要: 1 import turtle 2 turtle.screensize(800,800,"red") 3 turtle.setup(800,500,100) 4 turtle.penup() 5 turtle.fd(-100) 6 turtle.pendown() 7 turtle.pensize( 阅读全文
posted @ 2020-03-11 14:19 DG息 阅读(1871) 评论(0) 推荐(1) 编辑
摘要: 1 a=input("") 2 b=input("") 3 print(a+'我想对你说,'+b) 阅读全文
posted @ 2020-03-11 13:39 DG息 阅读(335) 评论(0) 推荐(1) 编辑
摘要: 1 i=0 2 N=eval(input()) 3 while i<6: 4 temp=pow(N,i) 5 print(temp) 6 i=i+1 阅读全文
posted @ 2020-03-11 13:15 DG息 阅读(179) 评论(0) 推荐(1) 编辑
摘要: 1 print('Hello World!') 阅读全文
posted @ 2020-03-11 01:08 DG息 阅读(214) 评论(0) 推荐(1) 编辑
摘要: 1 name=input("") 2 print("Hello,"+name.title()+"同学!") 阅读全文
posted @ 2020-03-11 00:12 DG息 阅读(202) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2020-03-10 23:26 DG息 阅读(236) 评论(0) 推荐(1) 编辑
上一页 1 ··· 4 5 6 7 8