title: Server socket in python doesn't print new line
body: <p>I am trying simple client and sinple server , client send 2 massages and server recieve 2 massages . I am printg first massage print(data1) and second massage print(data2) and somehow it print both massages in the same line . Can you help ?</p>
  
  <h1>server</h1>
  
  <pre><code>import socket
  
  SERVER_IP = '0.0.0.0'
  DEST_PORT = 1731
  
  server_socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  server_socket.bind((SERVER_IP,DEST_PORT))
  server_socket.listen(1)
  client_socket,address=server_socket.accept()
  
  
  data1 = client_socket.recv(512).decode()
  print(data1)
  data2 = client_socket.recv(512).decode()
  print(data2)
  
  client_socket.close()
  server_socket.close()
  </code></pre>
  
  <h1>cliend code</h1>
  
  <pre><code>#client
  import socket
  
  HOST_IP = '127.0.0.1'
  DEST_PORT = 1731
  
  my_socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  
  my_socket.connect((HOST_IP,DEST_PORT))
  
  data1 = "test1"
  print("client send")
  my_socket.sendall(data1.encode())
  my_socket.sendall("second send ".encode())
  
  my_socket.close()
  </code></pre>