print的使用 python中利用print内置函数语句来输出内容 # print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False) sep参数用来表示输出时,每个值之间使用哪种字符作为分隔符,默认使用空格作为分隔符 end表示当执行完一个print语句以后,接下来要输出的字符。默认\n表示换行 print('hello','world',sep='$',end='')