>        {'a': 2, 'b': 'another', 'c': 754},
>        {'a': 2, 'b': 'word', 'c': 745}
>

> if the value of the 'a' is same, then all those other values of the dict
should be merged/clubbed.

Can you write a function that takes two of these and merges them?  Assume
that they have the same 'a'.  Can you write such a function?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to