相关试题
单选题 class Student: Name="xxx" @staticmethod Def show(): Name="yyy" Print(name,Student.name) S=Student() S.show() 结果:
单选题 st=[] St.append({"name":"a","sex":"male"}) St.append({"name":"b","sex":"female"}) for s in st: Print(s["name"],s["sex"]) 结果是
单选题 class Student: Name="xxx" Def show(cls): Name="yyy" Print(name,cls.name) S=Student() S.show() 结果
单选题 
单选题 
单选题 class Student: Name="xxx" @staticmethod Def show(): Print(name) S=Student() S.show() 结果:
单选题 输入一个字符串s,反向输出它,例如输入"abc",输出"bca"

单选题
