Use of print

Use of print

Use print built-in function statements in python to output content

# print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)

The sep parameter is used to indicate which character is used as the separator between each value when outputting, and spaces are used as the separator by default

end represents the next character to be output after executing a print statement. Default \n means newline

print('疫情','大学生','惨兮兮',sep='^',end='真难!')

Guess you like

Origin blog.csdn.net/deyaokong/article/details/108712799