用户:
咸赫查看:0 回复:2 评论:0 创建时间:2021-12-04T12:09:50
【作品展示】

【作品介绍】
【作品源代码】
s = 0
while True:
money = int(input('请输入:'))
if money == 0:
break
s += money
money = s
money = int(input('请输入要付的钱'))
c = 100 -money
while True:
if c > 50:
print(50)
c -= 50
elif c > 20:
print(20)
c -= 20
elif c > 10:
print(10)
c -= 10
elif c > 5:
print(5)
c -= 5
elif c > 1:
print(1)
c -= 1
else:
break
4
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn
天启若风为什么空格那么多??????????是不是想找事imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%86%B7%E6%BC%A0.gif"alt="emotion_编程猫_冷漠"
点赞0
评论