摘要:
1 #字符串的所有操作 2 3 name = 'Lief \tis a {type} student.' 4 print(name.center(39,'-')) # 将字符串放置在另一个重复字符串的中间 5 print(name.endswith("f")) # 判断是否以某个指定字符串结尾 6 print(name.expandtabs(tabsize = 9)) # 在... 阅读全文
posted @ 2018-03-14 21:08
Lief_1997
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号