Discuss / Python / 作业

作业

Topic source

Black

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

n = 123

print(n)    

    # 123

f = 456.789

print(f)    

    # 456.789

s1 = 'Hello, world'    

print(s1)  

    # Hello,world

s2 = 'Hello, \'Adam\''

print(s2)  

    # Hello,'Adam'

s3 = r'Hello, "Bart"'

print(s3)

    # Hello,"Bart"

s4 = r'''Hello,Lisa!'''

print(s4)

'''

Hello,

Lisa!

'''


  • 1

Reply