python中的单引号和双引号 常用以及作用,简单记录备忘。
str1 =
'hello ' \
' world'
str2 =
'hello world'
str3 =
'hello "world"'
print str3
str4 =
"Let's go "
print str4
str5 =
'Let\'s go'
print str5
str6 =
'''
hello,
world
'''
print str6
转载请注明原文地址: https://ju.6miu.com/read-677986.html