Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- x=95
- a=0
- while x>=5:
- if x==95:
- a=math.sqrt(x+math.sqrt(5))/2
- x=x-5
- a=math.sqrt(x+a)
- x=x-5
- else:
- a=math.sqrt(x+a/2)
- x=x-5
- print('A=',a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement