I wish for my program to search resident and if it a specific value it will print the same placed data from other lists. For example in this situation I would want it to print;
"Name is Alan, age is 7 and they do not live in place",
as well as,
"Name is Margaret, age is 66 and they do not live in place"
name = ["Alan", "Susan", "Margaret"]
age = [7, 34, 66]
resident = [0, 1, 0]
if resident = 0:
print ("name is {}, age is {} and they do not live in place".format(name[], age[]))