transpose tag

1 questions


1 answers
69 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.