Searching lists then calling same place from other lists : <p>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; </p>

<p>"Name is Alan, age is 7 and they do not live in place",</p>

<p>as well as,</p>

<p>"Name is Margaret, age is 66 and they do not live in place"</p>

<pre><code>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[]))
</code></pre>
