Answer:
Step-by-step explanation:
The following is written in Python and does as the question requested. It asks the user for the information and adds it to the dictionary (the_dict) then it asks the user if they want to add more info and keeps adding to the_dict until the user states no. Once that happens the program places the dictionary into a tuple and prints out the results.
the_dict = {}
test_tup = ()
while True:
key = input("Please enter a name: ")
value = input("Please enter a number: ")
the_dict[key] = value
answer = input("More data (y/n)?").lower()
if answer != 'y':
break
test_tup = list(test_tup)
test_tup.append(the_dict)
test_tup = tuple(test_tup)
print(test_tup)