超市买苹果
# 1. 定義蘋果的單價
price = 8.5# 2. 挑選蘋果
weight = 7.5# 3. 計算付款金額
money = weight * priceprint(money)
?
總結
- 上一篇: 使用PyCharm定义QQ变量
- 下一篇: 超市买苹果变量的定义和使用