03 2020 档案

摘要:import turtle class Stack: def __init__(self): self.items = [] def isEmpty(self): return len(self.items) == 0 def push(self, item): self.items.append( 阅读全文
posted @ 2020-03-31 12:59 aoimo 阅读(134) 评论(0) 推荐(0)
摘要:a=input("") print("欢迎你," +a+"同学!") 阅读全文
posted @ 2020-03-15 13:37 aoimo 阅读(120) 评论(0) 推荐(0)
摘要:print("你好,世界!") 阅读全文
posted @ 2020-03-15 13:15 aoimo 阅读(121) 评论(0) 推荐(0)
摘要:a=eval(input()) for i in range(6): j=pow(a,i) print(j,sep=' ',end=' ') 阅读全文
posted @ 2020-03-15 13:12 aoimo 阅读(175) 评论(0) 推荐(0)
摘要:a=input("") b=input("") print(a+',我想对你说,'+b) 阅读全文
posted @ 2020-03-15 13:08 aoimo 阅读(90) 评论(0) 推荐(0)
摘要:import turtle turtle.pensize(1) turtle.pencolor("black") #画笔黑色 turtle.left(60) #绘制三角形# for _ in range(3): turtle.forward(200) turtle.right(120) #调整 tu 阅读全文
posted @ 2020-03-15 12:58 aoimo 阅读(166) 评论(0) 推荐(0)
摘要:import turtle turtle.pensize(1) turtle.pencolor("black") #画笔黑色 turtle.fillcolor("red") #内部填充红色 turtle.begin_fill() turtle.right(30) #绘制三角形# for _ in r 阅读全文
posted @ 2020-03-15 11:41 aoimo 阅读(532) 评论(0) 推荐(0)
摘要:import turtle turtle.pensize(1) turtle.pencolor("black") #画笔黑色 turtle.fillcolor("red") #内部填充红色 #绘制五角星# turtle.begin_fill() for _ in range(5): #重复执行5次 阅读全文
posted @ 2020-03-15 11:00 aoimo 阅读(110) 评论(0) 推荐(0)