Discuss / Python / 交作业

交作业

Topic source

le无花

#1 Created at ... [Delete] [Delete and Lock User]
n = 123
f = 456.789
s1 = '\'Hello, world\''
s2 = '\'Hello, \\\'Adam\\\'\''
s3 = 'r\'Hello, \"Bart\"\''
s4 = 'r\'\'\'Hello,\nLisa!\'\'\''

print('n =', n, '\nf =', f, '\ns1 =', s1, '\ns2 =', s2, '\ns3 =', s3, '\ns4 =', s4)

  • 1

Reply