Appending dictionary to a list, printing dictionary in the list, adding new items to dictionary, and reversing order of items in dictionary:

InfoDb = []
Dictionary = ({
    "FirstName": "Sachit",
    "LastName": "Prasad",
    "DOB": "October 3",
    "Residence": "San Diego",
    "Email": "sachitp17831@stu.powayusd.com",
    "Owns_Cars": "no cars owned",
    "Favorite_Color": "red",
})

InfoDb.append(Dictionary)

for i in InfoDb:
    print(i)

#Following code adds new items to the dictionary and prints all items

new = ({"Hobby": "Origami", "Instrument": "flute"})
Dictionary.update(new)
print(Dictionary)

#Output data in reverse order:

Dictionary = dict(reversed(Dictionary.items()))
print(Dictionary)
{'FirstName': 'Sachit', 'LastName': 'Prasad', 'DOB': 'October 3', 'Residence': 'San Diego', 'Email': 'sachitp17831@stu.powayusd.com', 'Owns_Cars': 'no cars owned', 'Favorite_Color': 'red'}
{'FirstName': 'Sachit', 'LastName': 'Prasad', 'DOB': 'October 3', 'Residence': 'San Diego', 'Email': 'sachitp17831@stu.powayusd.com', 'Owns_Cars': 'no cars owned', 'Favorite_Color': 'red', 'Hobby': 'Origami', 'Instrument': 'flute'}
{'Instrument': 'flute', 'Hobby': 'Origami', 'Favorite_Color': 'red', 'Owns_Cars': 'no cars owned', 'Email': 'sachitp17831@stu.powayusd.com', 'Residence': 'San Diego', 'DOB': 'October 3', 'LastName': 'Prasad', 'FirstName': 'Sachit'}

Quiz Using Dictionary:

dictionary = ({
	"What color is a lemon? ": "yellow",
	"What color is a pomegranate? ": "red",
	"What color is an orange? ": "orange",
})

score = 0

for key,value in dictionary.items():
  questions = input(f"{key}")
  if questions == value:
    print("Your answer is correct.")
    score += 1
  else:
    print("Your answer is incorrect.")
print("You got " + str(score) + " questions correct!")
Your answer is correct.
Your answer is correct.
Your answer is incorrect.
You got 2 questions correct!