计算机程序设计(Python)-21级 (南京信息工程大学)

  • 实验七

    class User: def __init__(self,name='guest',password=111111,status=1): self.name=name self.password=password self.status=status def info(self): print('
    黄海祥   2022-06-07 22:40   2   8
  • 实验7

    class User: """用户""" count = 0 def __init__(self, name='guest', password=111111, status=1): User.count += 1 self.name = name self.password = password
    Lil不要被人喂啦   2022-06-07 22:36   1   6
  • 实验七

    def main(): pass if __name__ == '__main__': main() def main(): pass if __name__ == '__main__': main() class User: """用户""" count = 0 def __init__(self
    一壶花茶   2022-06-07 22:33   0   6
  • 实验七

    user.py 1 class User(): 2 def __init__(self,name="guest",password='111111',status=1): 3 self._name=name 4 self._password=password 5 self._status=statu
    夜炫川   2022-06-07 22:15   2   7
  • 实验八

    task3 from turtle import * def square(size=50, rgb='yellow'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0)
    云处安   2022-06-07 22:04   3   18
  • 实验七

    class User: def __init__(self, name='guest', password='111111', status='1'): self.name=name self.password=password self.status=status def modify_passw
    SHADOW&KING   2022-06-07 21:54   1   18
  • 实验7

    class User(): def __init__(self,name="guest",password='111111',status=1): self._name=name self._password=password self._status=status def define(self)
    赵跃箐   2022-06-07 21:53   1   6
  • 实验7

    1 class User: 2 count = 0 3 4 5 def __init__(m, name = 'guest', password = '111111', zt = '1'): 6 7 User.count += 1 8 m.name = name 9 m.password = pas
    单纬哲   2022-06-07 21:46   2   8
  • 实验8 python库应用编程与体验

    3.实验任务3 from turtle import * def square(size=50, rgb='orange'): '''绘制正方形 参数size指定边长 参数rgb指定画笔颜色 如果没有给参数,采用默认值 ''' pencolor(rgb) for i in range(4): fd(
    失聪的小毛   2022-06-07 21:37   2   8
  • 实验七

    class user: def __init__(self,name='guest',password=111111,status=1): self.name=name self.password=password self.status=status def info(self): if self
    雷建彬   2022-06-07 21:25   0   7