在考虑到并行计算的前提下,假设初始账户为10美元,阅读如下python代码...
发布于 2022-03-03 11:36:50
在考虑到并行计算的前提下,假设初始账户为10美元,阅读如下python代码片段:
则说法错误的是:
def make_withdraw(balance): def withdraw(amount): nonlocal balance if amount > balance: print('Insufficient funds') else: balance = balance - amount print(balance) return withdraw
则说法错误的是:
登录后免费查看答案
关注者
0
被浏览
22