print(value,sep=' ',end='\n',file=sys.stdout, flush=False) sep=' '默认空格 print('hello','world') #hello world print('hello','world',sep='|') #hello|world end='\n'默认换行符 print('hello') print('world') #hello #world print('hello',end=' ') print('world') #he…