Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не рабочий пример #78

Open
SaPer663 opened this issue Jan 6, 2020 · 1 comment
Open

Не рабочий пример #78

SaPer663 opened this issue Jan 6, 2020 · 1 comment

Comments

@SaPer663
Copy link

SaPer663 commented Jan 6, 2020

В Траектории -> Продвинутый Python -> Функции -> Анонимные функции
Параллельная сортировка списков показан не рабочий пример с функцией zip, у zip объекта нет метода sort.
data = zip(list1, list2)
data.sort()
У меня получилось отсортировать при помощи функции sorted
data = sorted(zip(list1, list2))

@vladthelittleone
Copy link
Member

@SaPer663 Добрый день. Проверю.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants