class Person: def sayHello(self): print('Hello', self.name)p = Person____p.name = 'kitty'p.sayHello____
查看答案
class Test(object): count = 100 def ____(self): self.count = 200test = Test()print(test.count)
列举几种Python的组合数据类型,分别有什么特点?
a = 11b = 3print(a//b,a%b)运行结果是【】