title: Get more than one string as a variable into input separated by space
body: <p>I'm using Python 3.</p>
  
  <p>I need to get three values from a input (separated by a space). The values are a integer, a string and a integer again.<br>
  Consider that the string can have more than one word. 
  If I set two words it does not work, because each word is like a value.<br><br>
  My code into the momment is:</p>
  
  <pre><code>list_a = {}
  list_b = []
  for i in range(4):
      input_values = input("Press {}, {} and {}".format("id1", "name", "id2"))
      id1, name, id2 = input_values.split()
  
      list_a["id1"] = id1
      list_a["name"] = name
      list_a["id2"] = id2
  
      list_b.append(dict(list_a))
  
  print(list_b)
  </code></pre>
  
  <p>If my input is something like 1 name_ok 0, it works. But if my input is something like 1 pasta ok 0, doesn't works because 3 values are expected, not 4.</p>
  
  <p>How could I do to consider that any character between the two integer values ​​was the variable name?</p>
  
  <p>Sorry about the english xD</p>