Taigar2000

A

Oct 17th, 2020
445
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input())
  2. res = 0.0
  3. for i in range(n):
  4.     res += 1/((i+1)**2)
  5. print(res)
RAW Paste Data