0
How can i concatenate 2 dictionary values
4 Answers
0
If you mean add/edit a dict with another one, use .update method
d= {"a":1, "b":2}
e= {"a":10, "c":3}
d.update(e)
print(d)
0
can I know what is the purpose of .update?
0
make a list of values and index slice the 2 you need?