def name(x, y):
    # for i in range (0, len(name)):
    if x == y:
        print "same!"
    else:
        print "not same!"

list_one = ['celery','carrots','bread','milk']
list_two = ['celery','carrots','bread','cream']
name(list_one, list_two)