Python转义字符:\n和\t
\n: 换行
\t:制表符,一个tab等于4个空格
\t:制表符,一个tab等于4个空格
>>> print("hello\npython")
hello
python
hello
python
>>> print("\thello python")
hello python
>>>
hello python
>>>
>> print("\thello python") hello python>>>" />
精选留言