Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m=int(input())
- ans=0
- n=1
- while ans<m:
- ans+=1/n
- n+=1
- print(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement