Advertisement
dream_4ild

9-И-3 ex.4

Jan 24th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. m=int(input())
  2. ans=0
  3. n=1
  4. while ans<m:
  5.     ans+=1/n
  6.     n+=1
  7. print(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement