My code doesn't work?

I have been having difficulty with typing the code. I am literally doing names_and_dog_names = zip(names, dog_names). When I type in the code it gives me an error message-- when I copy and paste the results in-- the results are able to parse. Is there something that I am doing that I should be doing differently? What is it that I am doing wrong exactly? This is frustrating.

Unable to replicate issue. When making a question, please post full code so we can get the full picture, a single line of code is only a detail.

I think that my issue was that I was following the instructions but when I was using the zip function one of the other variables was not properly defined. Leading to an error saying that one of the functions was not defined.

I think some of the exercises were giving me that issue while going about it and just doing the code and nothing more.