题解 | #牛牛学数列2#
牛牛学数列2
http://www.nowcoder.com/practice/fc72951f52984f3abd286d82eeffacba
n = int(input())
m = 0
for i in range(1,n+1):
m += 1/i
print("%.6f" % m)
牛牛学数列2
http://www.nowcoder.com/practice/fc72951f52984f3abd286d82eeffacba
n = int(input())
m = 0
for i in range(1,n+1):
m += 1/i
print("%.6f" % m)
相关推荐