摘要:
from tkinter import *import randomimport timeclass Ball: def __init__(self,canvas,color):#初始化函数,画布和颜色 self.canvas = canvas #对象赋值 self.id=canvas.create 阅读全文
摘要:
from tkinter import *import randomimport timeclass Ball: def __init__(self,canvas,color):#初始化函数,画布和颜色 self.canvas = canvas #对象赋值 self.id=canvas.create 阅读全文
|