摘要: class atm(): #定义ATM类 def __init__(self): self.money=1000 #初始化 def cun(self): print("存钱") m=int(input("输入存钱金额")) self.money+=m #存钱程序 def qu(self): prin 阅读全文
posted @ 2021-05-06 07:34 阳仔的代码日常 阅读(49) 评论(0) 推荐(0)