Added week 5
This commit is contained in:
12
week5/ex6.py
Normal file
12
week5/ex6.py
Normal file
@@ -0,0 +1,12 @@
|
||||
def main():
|
||||
d1 = {'a': 100, 'b': 200}
|
||||
d2 = {'x': 300, 'y': 200}
|
||||
|
||||
print('==Exercise 6==')
|
||||
d_o = {**d1,**d2}
|
||||
print(f"Merged dict: {d_o}")
|
||||
print('==End Of Ex6==')
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user