Why isn't the zipped list printing?

there is a really simple way to find out, removing list:

names = ['Jenny', 'Alexus', 'Sam', 'Grace']
dogs_names = ['Elphonse', 'Dr. Doggy DDS', 'Carter', 'Ralph']
names_and_dogs_names = zip(names, dogs_names)

print(names_and_dogs_names)

so list() converts the zip object into a list.

1 Like