Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def mandel(c):
- z=0
- for h in range(0,20):
- z = z**2 + c
- if abs(z) > 2:
- break
- if abs(z) >= 2:
- return False
- else:
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement