Python 3.x Using zip and zip(* __ ) with lists and tuples

preview_player
Показать описание
Using zip to create tuples of numbers from two separate lists
using x,y=zip(*myzipped) to get x and y coordinates from a list of pairs of numbers -for example (x, y) coordinates-
Рекомендации по теме
Комментарии
Автор

AAA = zip(*lista) print(AAA):果zip objeto
AAA, BBB = zip(*lista) print(AAA):果 printa [→甲←, 乙]

amoagua