darya_leushkina

Задание 19

Dec 3rd, 2020
472
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. e = float(input())
  2. s = 0
  3. a = 1/3
  4. while abs(a) > e:
  5.     print(a)
  6.     s += a
  7.     a /= -9
  8. print(s)
  9.  
RAW Paste Data