写出下面代码的运行结果。def addInterest(balance rate): newBalance=balance*(1+rate) balance=
已帮助 人
写出下面代码的运行结果。def addInterest(balance,rate): newBalance=balance*(1+rate) balance=newBalance def main(): amount=1000 rate=0.05 addInterest(amount,rate) print (amount) main()

回答
共1条回复-
A
