DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Merge two dictionaries in a single expression
currentEmployee = {1: 'Scott', 2: "Eric", 3:"Kelly"} formerEmployee = {2: 'Eric', 4: "Emma"}
Source by pynative.com #
PREVIOUS
NEXT
Tagged:
#Merge
#dictionaries
#single
#expression
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit