📜  interviewbit 与 Python 问题解决方案 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:38.900000             🧑  作者: Mango

代码示例1
class Student:
    def __init__(self, name, branch):
        self.name = name
        self.branch = branch
obj = Student("Robin", "CSE")
print(obj.name)
print(obj.branch)