题解 | #牛客打工人#
牛客打工人
https://www.nowcoder.com/practice/c93c8863a5a94740b8e8633df198e42d
class Nowcoder: def __init__(self,name,id,quantity) -> None: self.name = name self.id = id self.quantity = quantity niuniu = Nowcoder('NiuNiu',100001,678) print(niuniu.name) print(niuniu.id) print(niuniu.quantity)