python三引号的用法

1 多行注释

print('Hello world!')
"""
这是一个
多行注释
注释,
###
"""

2 按照原格式输出文本

a = """ ###pandas features a number of 
fnctions for reading 'tabular data' as
 a DataFrame object. Such as , read_csv ...&&&;;;'''hello'''
 """
print(a)

输出结果:

原文地址:https://www.cnblogs.com/jiangchengzi93812/p/9464968.html