Discuss / Python / 交作业

交作业

Topic source

print('''n=123\nf=456.789\ns1='hello,world'\ns2='hello,\\'Adam\\''\ns3=r'hello,"brat"'\ns4=r\'\'\'hello,\nLisa!\'\'\'''')

或:

print('''n=123

f=456.789

s1='hello,world'

s2='hello,\\'Adam\\''

s3=r'hello,"brat"'

s4=r\'\'\'hello,\nLisa!\'\'\'

''')


  • 1

Reply