Skip to content

Instantly share code, notes, and snippets.

View arvganesh's full-sized avatar
🐊

Arvind Ganesh arvganesh

🐊
  • United States of America
View GitHub Profile
from Tkinter import *
import Tkinter
def iterate(x, y, iterationNum): # I am not sure if I am doing this part correctly.
z = 0
coord = complex(x, y)
while iterationNum:
z = z * z + coord
if z ** 2 > 4:
return False
return True