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

Добавить пример преобразования словаря в другие типы #3

Open
yuldashov10 opened this issue Sep 24, 2023 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@yuldashov10
Copy link
Member

employee_info = {
    "name": "Максим",
    "age": 23,
    "city": "Москва",
    109465: "Идентификатор для примера",
    (10, 10, 10): "Кортеж можно использовать в качестве ключа"
}

print(list(employee_info))  # ['name', 'age', 'city', 109465, (10, 10, 10)]
@yuldashov10 yuldashov10 added the invalid This doesn't seem right label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants