Discuss / Python / 交作业

交作业

Topic source

AICCCCCO

#1 Created at ... [Delete] [Delete and Lock User]

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)

racityVE

#2 Created at ... [Delete] [Delete and Lock User]

n=',n,'是为什么啊 为什么要打逗号

迩俗淮晏

#3 Created at ... [Delete] [Delete and Lock User]

这样看的 'n=',n, 前面是输出 n= 后面n是输出n的值


  • 1

Reply