Skip to content

merge (union) two Python dictionaries #3

@duoduo369

Description

@duoduo369

other way

x = {'a':1, 'b': 2}
y = {'b':10, 'c': 11}
z = dict(x, **y)

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