Discuss / Python / 新手代码

新手代码

Topic source

鸢尾草86

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

print('n=123') print('f=456.789') print('s1=\'Hello,world\'') print(r"s2='Hello,\'Adam\''") print("s3=r'Hello,\"Bart\"'") print("s4=r'''Hello,\nLisa!'''")

鸢尾草86

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

c:\python>python print.py n=123 f=456.789 s1='Hello,world' s2='Hello,\'Adam\'' s3=r'Hello,"Bart"' s4=r'''Hello, Lisa!'''


  • 1

Reply