#定义苹果单价
apple_price = 2.3
#定义苹果折扣
apple_discount = 0.88
#输入购买的苹果重量
apple_weight = eval(input("请输入苹果的重量:"))
#定义价格
apple_money = apple_price * apple_weight
#购买苹果重量超过5斤打88折
if apple_weight
#定义苹果单价
apple_price = 2.3
#定义苹果折扣
apple_discount = 0.88
#输入购买的苹果重量
apple_weight = eval(input("请输入苹果的重量:"))
#定义价格
apple_money = apple_price * apple_weight
#购买苹果重量超过5斤打88折
if apple_weight