摘要: n= int(input())print(abs(n),end = ' ')N = abs(n)N1 = N + 10N2 = N - 10N3 = N * 10if n < 0 : N1 = -abs(N1) N2 = -abs(N2) N3 = -abs(N3)print((N1),end = 阅读全文
posted @ 2021-09-13 21:38 zty666 阅读(42) 评论(0) 推荐(0)
摘要: N = float(input())n = N *0.001a = 1.0b = 1.0for i in range(365): a = a * (1+n)for i in range(365): b = b *(1-n)c= a /bprint('{:.2f}'.format(a),end = ' 阅读全文
posted @ 2021-09-13 21:09 zty666 阅读(42) 评论(0) 推荐(0)