题解 | #牛客打工人#

牛客打工人

https://www.nowcoder.com/practice/c93c8863a5a94740b8e8633df198e42d

class Nowcoder:
    def __init__(self, name, id, num) -> None:
        self.name = name
        self.id = id
        self.num = num 

    def print_info(self):
        print(self.name, self.id, self.num, sep='\n')

nowcoder = Nowcoder('NiuNiu', 100001, 678)
nowcoder.print_info()

全部评论

相关推荐

刘湘_passion:出国旅游?那就小心你的腰子咯
点赞 评论 收藏
分享
深夜书店vv:腾讯是这样的,去年很多走廊都加桌子当工区
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务