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

  • 实验7

    user.py class User(): def __init__(self,name="guest",password='111111',status=1): self._name=name self._password=password self._status=status def defi
    h_ln   2022-06-07 20:58   1   9
  • 实验七

    class User: def __init__(self, name, password='111111', status='1'): # 构造新账户 self.name = name self.password = password self.status = status def info(s
    天天三顿   2022-06-07 20:46   3   5
  • 实验8 python库应用编程与体验

    3. 实验任务3:使用turtle库用矩形绘制花瓣 from turtle import * def square(size=50, rgb='pink'): '''绘制正方形 参数size指定边长 参数rgb指定画笔颜色 如果没有给参数,采用默认值 ''' pencolor(rgb) for i
    何处寻清欢   2022-06-07 19:39   1   4
  • 实验7

    1 class User: 2 def __init__(self, name, password='111111', status='1'): # 构造新账户 3 self.name = name 4 self.password = password 5 self.status = status
    宋烨   2022-06-07 19:33   1   5
  • 实验7

    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 19:22   2   5
  • 实验7 类和模块

    class User: def __init__(self,name='guest',password='1'*6,status=1): self.name=name self.password=password self.status=status def info(self): if self.
    东楼贺朝   2022-06-07 18:02   0   3
  • 实验七

    class User: """用户""" count = 0 def __init__(self, name='guest', password=111111, status=1): User.count += 1 self.name = name self.password = password
    朗格里格朗   2022-06-07 17:47   2   8
  • 实验7

    class User: def __init__(self, name='guest ', password='111111', status='1'): self._name = name self._password = password self._status = status def in
    清橙往忆   2022-06-07 16:55   1   3
  • 实验7

    class User: num=0 def __init__(self,name='guest',password='111111',status='1'): User.num+=1 self.name=name self.password=password if status=='1': self
    金子航   2022-06-07 16:28   0   6
  • 实验七

    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 16:14   2   6