Python在字符串中增加換行和縮進
可以用製表符 \n 和縮進符 \t 來表述
str1 = 'lewis\n'
str2 = '\tlewis'
print(str1)
print(str2)
提供Python自動化腳本編寫服務,如有需求可以聯繫qq:838648292
Python在字符串中增加換行和縮進
可以用製表符 \n 和縮進符 \t 來表述
str1 = 'lewis\n'
str2 = '\tlewis'
print(str1)
print(str2)
提供Python自動化腳本編寫服務,如有需求可以聯繫qq:838648292