n =123 f =456.789 s1="'hello,world'" s2="'hello,\\'Aam\\'\'" s3="r\'hello,\"bart\"\'" s4="r'''hello,\nLisa!'''" print('n=',n,'\nf=',f,'\ns1=',s1,'\ns2=',s2,'\ns3=',s3,'\ns4=',s4)
n=',n,'是为什么啊 为什么要打逗号
这样看的 'n=',n, 前面是输出 n= 后面n是输出n的值
Sign in to make a reply
AICCCCCO
n =123 f =456.789 s1="'hello,world'" s2="'hello,\\'Aam\\'\'" s3="r\'hello,\"bart\"\'" s4="r'''hello,\nLisa!'''" print('n=',n,'\nf=',f,'\ns1=',s1,'\ns2=',s2,'\ns3=',s3,'\ns4=',s4)