python3 print.py

"""
知识点:
print(...)
    print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)

    默认情况下,将值打印到流,或打印到sys.stdout。
    可选关键字参数:
    file:  类似文件的对象(流);默认为当前sys.stdout。
    sep:   值之间插入的字符,默认为一个空格。
    end:   在最后一个值之后附加的字符,默认为换行。
    flush: whether to forcibly flush the stream.
"""
print(1, 2, 3)
# 1 2 3

猜你喜欢

转载自blog.csdn.net/weixin_42193179/article/details/91357097