Discuss / Python / 交作业

交作业

Topic source

掬阳Jony

#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='''hello \n lisa''' print(s4) hello lisa

s4=r'''hello, lisa''' print(s4) hello,

在此插入代码
lisa

sayuriLAN

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

这个答案最好啦,不要空格哦

s4='''hello\nlisa'''
print(s4)

  • 1

Reply