摘要:
class Person:def __init__(self, name):self.name = namedef sayHi(self):print('Hello, my name is'+ self.name)p = Person('Swaroop')p.sayHi() 阅读全文
摘要:
print('Hello World')print('%s',55)print('%6.2f' % 1.235)print('%06.2f' % 1.235)print('-%06.2f' % 1.235)print('%-09.2f' % 1.235)print('%+09.2f' % 1.235... 阅读全文