题解 | #网购#
网购
http://www.nowcoder.com/practice/5d7dfd405e5f4e4fbfdff6862c46b751
a, b, c, d = map(float, input().split()) if b == 11: end = a * 0.7 else: end = a * 0.8 if d: end -= 50 if end < 0: end = 0 print('%.2f' % end)
网购
http://www.nowcoder.com/practice/5d7dfd405e5f4e4fbfdff6862c46b751
a, b, c, d = map(float, input().split()) if b == 11: end = a * 0.7 else: end = a * 0.8 if d: end -= 50 if end < 0: end = 0 print('%.2f' % end)
相关推荐