摘要:
from turtle import * def square(size=50, rgb='gold'): '''绘制正方形 参数size指定边长 参数rgb指定画笔颜色 如果没有给参数,采用默认值 ''' pencolor(rgb) for i in range(4): fd(size) left 阅读全文
摘要:
class User(): def __init__(self,name="guest",password='111111',status=1): self._name=name self._password=password self._status=status def define(self) 阅读全文