MCPcopy Index your code
hub / github.com/geekcomputers/Python / square

Function square

memorygame.py:11–21  ·  view source on GitHub ↗

Draw white square with black outline at (x, y).

(x, y)

Source from the content-addressed store, hash-verified

9
10
11def square(x, y):
12 "Draw white square with black outline at (x, y)."
13 up()
14 goto(x, y)
15 down()
16 color("black", "white")
17 begin_fill()
18 for count in range(4):
19 forward(50)
20 left(90)
21 end_fill()
22
23
24def index(x, y):

Callers 1

drawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected