To get the class or the type of object, Python provides us with the type ... else: obj.name = "Virat" print(type(obj)) # Prints: <__main__.
確定! 回上一頁