MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / main

Function main

tools/python-3.11.9-amd64/Lib/turtledemo/paint.py:37–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 color(colors[0])
36
37def main():
38 global colors
39 shape("circle")
40 resizemode("user")
41 shapesize(.5)
42 width(3)
43 colors=["red", "green", "blue", "yellow"]
44 color(colors[0])
45 switchupdown()
46 onscreenclick(goto,1)
47 onscreenclick(changecolor,2)
48 onscreenclick(switchupdown,3)
49 return "EVENTLOOP"
50
51if __name__ == "__main__":
52 msg = main()

Callers 1

paint.pyFile · 0.70

Calls 1

switchupdownFunction · 0.85

Tested by

no test coverage detected