raw字符串与多行字符串

来源:互联网 发布:linux 登录界面循环 编辑:程序博客网 时间:2024/04/27 08:13

#请把下面的字符串用r'''...'''的形式改写,并用print打印出来:

#'\"To be, or not to be\": that is the question.\nWhether it\'s nobler in the mind to suffer.'


print r'''"To be, or not to be": that is the question.

Whether it's nobler in the mind to suffer.'''

0 0
原创粉丝点击