InfoDb = []

InfoDb.append({
    "FirstName": "Jake",
    "LastName": "Warren",
    "DOB": "September 8",
    "Residence": "San Diego",
    "FavoriteFood": "Burger",
    "Email": "jacobw22751@stu.powayusd.com",
    "Owns_Cars": ["2016-Toyota Tacoma"]
})

InfoDb.append({
    "FirstName": "Finn",
    "LastName": "Carpenter",
    "DOB": "December 12",
    "Residence": "San Diego",
    "FavoriteFood": "Pizza",
    "Email": "finnc51448@stu.powayusd.com",
    "Owns_Cars": ["2012 Nissan Xterra"]
})

InfoDb.append({
    "FirstName": input("Name:"),
    "LastName": input("LastName:"),
    "DOB": input("Birthday:"),
    "Residence": input("Residence:"),
    "FavoriteFood": input("FavoriteFood:"),
    "Email": input("Email:"),
    "Owns_Cars": input("Owns_Cars:")
})
def print_data(d_rec):
    print(d_rec["FirstName"], d_rec["LastName"]) 
    print("\t", "Residence:", d_rec["Residence"]) 
    print("\t", "FavoriteFood:", d_rec["FavoriteFood"])
    print("\t", "Birth Day:", d_rec["DOB"])
    print("\t", "Cars:", d_rec["Owns_Cars"]) 
    print()



def for_loop():
    print("For loop output\n")
    for record in InfoDb:
        print_data(record)

for_loop()
For loop output

Jake Warren
	 Residence: San Diego
	 FavoriteFood: Burger
	 Birth Day: September 8
	 Cars: ['2016-Toyota Tacoma']

Finn Carpenter
	 Residence: San Diego
	 FavoriteFood: Pizza
	 Birth Day: December 12
	 Cars: ['2012 Nissan Xterra']

Jake  Warren
	 Residence: San Diego
	 FavoriteFood: Burger
	 Birth Day: September 8
	 Cars: kv

q1 = """Is the sky blue
a. Yes
b. No"""

q2 = """How many states are there in the US?
a. 45
b. 50
c. 100"""


questions = {q1:"a",q2:"b"}
name = input("enter your name:")
print("Hello", name)
score = 0
for i in questions:
    print(i)
    ans = input("enter the answer: (a/b):")
    if ans==questions[i]:
        print("correct")
        score=score+1
        print(score, "point")
    else:
        print("wrong")
Hello Jake
Is the sky blue
a. Yes
b. No
correct
1 point
How many states are there in the US?
a. 45
b. 50
c. 100
correct
2 point