Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n=10
- sum =0.0
- for i in range(1,n):
- sum = sum + 1.0/i
- print(sum)
- #Test code for problem 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement