Q:

In how many lists does the word appear? 

I have different lists in python:
list1 = [hello,there,hi]
list2 = [my,name,hello]

I need to make a dictionary with the key being the number of lists a word appears in.  So my answer would look like
{2:hello,1:hi ....}
I am new to python and I have no idea how to do this.  

A:

You need to use a dictionary to store key-value results. 
Here is some code to help you get started, but you'll has to modify to your exact solution. 
#! /usr/bin/python

list1 = ["hello","there","hi"]
list2 = ["my","name","hello"]

result = dict()

for word in list1:
    if word in result.keys():
        result[word] = result[word] + 1
    else:
        result[word] = 1

for word in list2:
    if word in result.keys():
        result[word] = result[word] + 1
    else:
        result[word] = 1

print result

