题解 | #格式化输出(一)#
格式化输出(一)
https://www.nowcoder.com/practice/fe82dc48f4f04b2397a85fb1bdbe34a2
import sys class Person: def __init__(self,name): self.name = name def introduceSelf(self): print('I am '+ self.name + ' and I am studying Python in Nowcoder!') name = input() person = Person(name) person.introduceSelf()