p设计一个Person类,属性有姓名、年龄、性别,创建方法personInfo,打印输出这个人的信息;创建Student类,继承Person类,属性有学院college,班级Group,重写父类Per
classPerson:def__init__(self,name,age,sex):self.name=nameself.age=ageself.sex=sexdefpersonInfo(self):print("姓名:",self.name,"年龄:",self.age,"性别:",self.sex)classStudent:def__init__(self,college,Group):se