题解 | #牛客打工人#
牛客打工人
https://www.nowcoder.com/practice/c93c8863a5a94740b8e8633df198e42d
# 创建一个类
class Workers():
def __init__(self,name,ID,num):
self.name=name
self.ID=ID
self.num=num
w=Workers('NiuNiu','100001',678)
print(w.name)
print(w.ID)
print(w.num)
