运行没问题,除了第一行别的都有首行缩进一格,为啥呀
Topic source# -*- coding: utf-8 -*-
n=123
f=456.456
s1='Hello,world'
s2='Hello,\'lihua\''
s3=r'hello,"Bart"'
s4=r'''hello
Lisa!'''
print(n,f,s1,s2,s3,s4,sep='\n')
- 1
# -*- coding: utf-8 -*-
n=123
f=456.456
s1='Hello,world'
s2='Hello,\'lihua\''
s3=r'hello,"Bart"'
s4=r'''hello
Lisa!'''
print(n,f,s1,s2,s3,s4,sep='\n')
你在干什么呀小怪怪
print('n=123\n','f=456.789\n','s1=\'Hello,world\'\n','s2 =\'Hello,','\\\'Adam\\\'\'\n','s3=r\'Hello,','\"Bart\"\'\n','s4=r\'\'\'Hello,\n','Lisa!\'\'\'')