MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / toggle_pupils

Function toggle_pupils

Screenpet/screenpet.py:19–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 win.after(3000,blink)
18
19def toggle_pupils():
20 if not c.crossed_eyes:
21 c.move(pupil_left, 10,-5)
22 c.move(pupil_right, -10,-5)
23 c.crossed_eyes = True
24 else:
25 c.move(pupil_left, -10,5)
26 c.move(pupil_right, 10,5)
27 c.crossed_eyes = False
28
29def toggle_tongue():
30 if not c.tongue_out:

Callers 1

cheekyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected