Problem1683--购书金额计算

1683: 购书金额计算

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

双十一将至,某书店做图书优惠活动:所有图书一律7折;若所购金额超过200元,则超过200元的部分享受6折优惠;以上优惠后再享受每满200减30,未满的部分不享受。现编写
Python程序,实现如下功能:运行程序,输入购物金额,通过计算输出实际支付金额(结果保留一位小数)。

Input

一个实数,表示购书金额

Output

打折后的实际支付金额,保留一位小数

Sample Input Copy

488

Sample Output Copy

282.8

Source/Category