def merge_two_dicts(dict1, dict2):
        new_dict = dict1.copy()
        new_dict.update(dict2)
        return new_dict

      Python language logoMerge dictionnaries

      Python public recipes

      Shortcut: dict.merge

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.