DC娱乐网

Python经典实例5⃣️8⃣️

Python经典实例[五R][八R]

[一R]题目:
画图,学用rectangle画方形。
[二R]程序分析:
rectangle(int left, int top, int right, int bottom)
参数说明:(left ,top )为矩形的左上坐标,(right,bottom)为矩形的右下坐标,两者可确定一个矩形的大小。