I migrated from Python 2.7 to Python 3.3 and zip() does not work as expected anymore. Indeed, I read in the doc that it now returns an iterator instead of a list.
So, how I am supposed to deal with this? Can I use the "old" zip() in my Python3 code?
Find bellow the way it worked before in a Django project:
in views.py: my_zipped_list = zip(list1, list2)
in file.html: {{ my_zipped_list.0.1 }}
Maybe another solution would be to keep "new" zip() behaviour and change template instead.
Thanks for help!