题目内容
下列程序的运行结果为 。class account:def __init__(self,id,balance):self.id=idself.balance=balancedef deposit(self,amount):self.balance+=amountdef withdraw(self,amount):self.balance-=amountacc1=account('1234',100)acc1.deposit(500)acc1.withdraw(200)print(acc1.balance)
查看答案
搜索结果不匹配?点我反馈