I keep getting an empty dictionary
#!/usr/local/bin/python3
dic1={1:10, 2:20}
dic2={3:30, 4:40}
dic3={5:50,6:60}
dictNew = {}
def concatDict(dictCon):
dictNew = dict.update(dictCon)
return dictNew
concatDict(dic1)
concatDict(dic2)
concatDict(dic3)
print(dictNew)
dictNew is not getting updated from the function calls.
Can someone point me in the right direction?