运行以下Python代码,最终的输出结果是?
class Person:
species = "人类"
def __init__(self, name):
self.name = name
def say_hello(self):
return f"你好,我是{self.name}"
p1 = Person("张三")
print(p1.species)
print(p1.say_hello())
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析