title: How to generate positional arguments for another function from tkinter entry
body: <p>a beginner coder here. I am trying to make a gui form that gathers data into a sql database and at the same time display it in a treeview. </p>
  
  <pre><code>def adddata():
      backend2.adddata(food.get(), transport.get(), insurance.get(), installments.get(), others.get())
  </code></pre>
  
  <p>For the example, you can see that I have 5 entry fields which I need to get data from and pass it onto the database with the adddata function. Imagine if I have to add 5 more fields, and I have 10 of such similar functions, it will be tedious to add them into the code manually. </p>
  
  <p>Therefore is there a way to generate a list of positional arguments to pass into the backend.adddata2() function? Thanks.</p>