摘要: a=input("") print('欢迎你,'+a+'同学!') 阅读全文
posted @ 2020-03-15 12:32 Bingo_hwb 阅读(73) 评论(0) 推荐(0) 编辑
摘要: print('世界,你好!') 阅读全文
posted @ 2020-03-15 12:28 Bingo_hwb 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1 a=input("") 2 b=input("") 3 print(a+',我想对你说,'+b) 阅读全文
posted @ 2020-03-15 12:12 Bingo_hwb 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1 #五角星绘制 2 import turtle as t 3 t.setup(650,450) 4 t.color('black','red') 5 t.begin_fill() 6 for i in range(5): 7 t.fd(50) 8 t.rt(144) 9 t.end_fill() 阅读全文
posted @ 2020-03-15 11:44 Bingo_hwb 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1 #六角星绘制 2 import turtle as t 3 t.setup(650,450) 4 t.color('black','red') 5 t.pensize(5) 6 t.begin_fill() 7 t.seth(30) 8 for i in range(3): 9 t.fd(150 阅读全文
posted @ 2020-03-15 11:43 Bingo_hwb 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1 #叠加等边三角形 2 import turtle as t 3 t.pensize(5) 4 t.penup() 5 t.goto(-100,80) 6 t.pendown() 7 for i in range(3): 8 t.fd(150) 9 t.rt(120) 10 t.lt(60) 11 阅读全文
posted @ 2020-03-15 11:39 Bingo_hwb 阅读(141) 评论(0) 推荐(0) 编辑