题目:画图,学用rectangle画方形. rectangle(int left, int top, int right, int bottom) 参数说明:(left ,top )为矩形的左上坐标,(right,bottom)为矩形的右下坐标,两者可确定一个矩形的大小 Canvas #!usr/bin/env python # -*- coding: utf-8 -*- if __name__ == '__main__': from Tkinter import * #导入库 root = T…