摘要:1.字符串属性方法操作: 1.>字符串格式输出对齐 1 2 3 4 5 6 7 8 9 10 11 >>> str = "Python stRING" >>> print str.center(20) #生成20个字符长度,str排中间 Python stRING >>> print str.lju
阅读全文
posted @ 2019-08-23 15:37
posted @ 2019-08-23 15:37