可以使用Python的turtle模块来绘制一个桌布。
以下是一个简单的例子:
import turtle
def draw_tablecloth(turtle, length,width):
for i in range(2):
turtle.forward(length)
turtle.right(90)
turtle.forward(width)
turtle.right(90)
t = turtle.Turtle()
draw_tablecloth(t, 200, 100)
turtle.done