unzip tag

1 questions


1 answers
75 views
0
How can I restore it from the zip?

I use the zip like thislist1 = ['a', 'b', 'c', 'd']list2 = [1, 2, 3, 4]result = zip(list1, list2) #[('a', 1), ('b', 2), ('c', 3), ('d', 4)]The opposite of the zip[('a', 1), ('b', 2), ('c', 3), ('d', 4...


© 2024 OneMinuteCode. All rights reserved.