I'm trying to create a sign-up form using Python and Tkinter...
To keep things tidy, I would like to iterate over the elements of this list:
signup_fields = ['first_name', 'last_name', 'username', 'password', 'confirm_password', 'email', 'confirm_email', 'height', 'weight']
With something like this for loop being used to create the entry boxes:
for field in signup_fields:
    {field} = tk.Entry()
    {field}.pack()
As you can see, I'm putting 'field' in '{}' curly brackets to try get Python to name the variables based on the strings from the list. I don't know how to do this and I'm not finding a workaround online.
 
     
    