Discuss / Python / 还可以简化

还可以简化

Topic source

Xxiangq

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

print('n = 123')

print('f = 456.789')

print("s1 = 'Hello,world'")

print("s2 = 'Hello,\\\'Adam\\\''")

print("s3 = r'Hello,\"Bart\"'")

print("s4 = r\'\'\'Hello,\nLisa!\'\'\'")


  • 1

Reply