# 求换行符的长度 name='fqs' chang='\t' print(len(chang)) # 演示换行符 print("Hello\nWorld") # 演示制表符 print("Name\tAge\tCity") print("John\t25\tNew York") print("Lisa\t32\tLondon") ''' 1 Hello World Name Age City John 25 New York Lisa 32 London '''