Skip to content

create a dictionary with list comprehension #5

@limon

Description

@limon

d = {key: value for (key, value) in sequence}

不如直接

d = dict(sequence)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions