摘要:
1 from turtle import * 2 def square(size=50,rgb='orange'): 3 pencolor(rgb) 4 for i in range(4): 5 fd(size) 6 left(90) 7 def main(): 8 setup(800,600) 9 阅读全文
摘要:
1 class User: 2 def __init__(self, name, password='111111', status='1'): # 构造新账户 3 self.name = name 4 self.password = password 5 self.status = status 阅读全文