title: Declare and assign an amount of variables from an input?
body: <p>Looking back into my previous calculator project I made in python I wanted to improve on it. I noticed that the amount of numbers to use were hard coded and could only pick to use 2-4 numbers and so on.</p>
  
  <p>I want a solution where I can take the user input on how many numbers he will desire to use and have the program respond to this and create the correct amount of variables with each value.</p>
  
  <p>Here this program takes in 2 variables from 1 input:</p>
  
  <pre><code>    v1, v2 = input("Enter 2 nums!").split()
      print("var1 = ", v1, "\nvar2 =", v2)
  
      v1, v2 = [int(v1), int(v2)]
      ans = v1 + v2
  
      print("Sum =",ans)
  </code></pre>
  
  <p>Though this does a useful job for multiple inputs, it does not achieve my set goal. Would it be somehow possible to have these 'v1', 'v2' variables automatically created depending on how many 'splits' it does or how many variables it finds.</p>
  
  <p>For example if amount_of_vars = 3, then it would create 3 variables from the input and so on depending on the variable 'amount_of_vars'.</p>