money = 50
print("当前钱包余额:",money,"元")
money = money - 10
print("购买冰激凌花费10元")
money = money - 5
print("购买可乐花费5元")
print("钱包剩余",money)
作业测试,使用Python print语句完成简单表述
最新推荐文章于 2024-08-27 16:38:10 发布
money = 50
print("当前钱包余额:",money,"元")
money = money - 10
print("购买冰激凌花费10元")
money = money - 5
print("购买可乐花费5元")
print("钱包剩余",money)