title: Multiple inputs from a user in a single line for pythong
body: <p>With python you have input()
  it takes one user input and you can assign it to a variable and then do what you please.
  I have heard about the .split() method but don't know how to implement it into my code.
  I want to create a function use def() so i can call back the function several times while asking the user for input as to whether they want to got through with the process, end it or do another function</p>
  <pre><code>print(&quot;Hello, welcome to the change calculator&quot;)
  print(&quot;Here we will ask you to tell us the amount of each individual coins you have&quot;)
  #create variables that hold the amount each one states such as five pence would == £0.05
  fivepence = 0.05
  tenpence = 0.10
  twentypence = 0.20
  fiftypence = 0.50
  onepound = 1
  twopound = 2
  #Get the user to input everything 
  
  
  
  fivepencetotal = input((&quot;How many 5 Pence coins do you have? : &quot;)) * fivepence
  
  tenpencetotal = input((&quot;How many 10 Pence coins do you have? : &quot;)) * tenpence
  
  twentypencetotal = input((&quot;How many 20 Pence coins do you have? : &quot;)) * twentypence
  
  fiftypencetotal = input((&quot;How many 50 pence coins do you have? : &quot;)) * fiftypence
  
  onepoundtotal = input((&quot;How many 1 Pound coins do you have? : &quot;)) * onepound
  
  twopoundtotal = input((&quot;How many 2 pound coins do you have? : &quot;)) * twopound
  
  
  #function to add everything and do the opposite if that is what the user wants
  
  def changeaddup():
      print(&quot;do you want to add everything up?&quot;)
      print(&quot;Type either Yes, yes , Y or y to add all your change up&quot;)
      if input( &quot;Yes&quot;,&quot;yes&quot;,&quot;Y&quot;,&quot;y&quot;):
          print(&quot;Just calculating how much money you have based on the data you have inputed&quot;)
          print(&quot;Here you have a total of £&quot;, fivepencetotal + tenpencetotal + twentypencetotal + fiftypencetotal + onepoundtotal + twopoundtotal)
          
      else:
          return
  print(changeaddup)
  </code></pre>