From 937c38f0bddab27a4e6bb56dbb9e66c9853d3ebc Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Tue, 31 Jan 2023 14:11:03 +0000 Subject: [PATCH] docs(merge_two): add extra line at EOF and more details about the type of values --- subjects/devops/merge_two/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subjects/devops/merge_two/README.md b/subjects/devops/merge_two/README.md index e8feea74..0ee9bd49 100644 --- a/subjects/devops/merge_two/README.md +++ b/subjects/devops/merge_two/README.md @@ -6,6 +6,7 @@ One very useful data structure in Python are the dictionaries, in this exercise Create a file `merge_two.py` which will have a function named `merge_two()`. This function will accept one dictionary. It will prompt the user to create a new dictionary asking for keys and values. +The function will always convert the `values` into integers. As a return it will create a third one which will be the merge of the two dictionaries and return it as a serialized JSON string. @@ -70,4 +71,4 @@ $ - [Merging dictionaries in Python](https://www.geeksforgeeks.org/python-merging-two-dictionaries/) - [JSON library in Python](https://docs.python.org/3/library/json.html) -- [Function input() in Python](https://www.w3schools.com/python/ref_func_input.asp) \ No newline at end of file +- [Function input() in Python](https://www.w3schools.com/python/ref_func_input.asp)