Python基礎(2)

Python 六.字符串(string)和文本 %r %s %d x = "There are %d types of people." % 10 print x There are 10 types of people. print "I said: %r." % x I said: 'There are 10 types of people.'. 七.更多打印 print "." * 10
相關文章
相關標籤/搜索