Advertisement
chertila

Аделька Питон 4

Feb 19th, 2023 (edited)
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. from math import *
  2.  
  3.  
  4. def main(n):
  5.     if n == 0:
  6.         return -0.04
  7.     if n >= 1:
  8.         return main(n - 1) ** 2 - cos(main(n - 1))
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement