print(数据1, 数据2)
# sep: 指定多个数据输出时的分割符
print('a', 'b', sep="#")
# end: 输出数后末尾加上指定内容
print('a', 'b', sep="#", end="!") -> a#b!
以下是pycharm查看的print函数的介绍
def print(self, *args, sep=' ', end='\n', file=None): # known special case of print
"""
print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
flush: whether to forcibly flush the stream.
"""
pass