摘要: 1.打开 IDLE 点击File-New File 新建立一个py文件 2.向py文件中输入如下代码 import turtleclass Stack: #面向对象,定义一个类 def __init__(self): self.items = [] def isEmpty(self): return 阅读全文
posted @ 2019-03-26 22:59 爱你一生12581 阅读(513) 评论(0) 推荐(0) 编辑