docs(merge_two): add extra line at EOF and more details about the type of values

This commit is contained in:
Michele Sessa 2023-01-31 14:11:03 +00:00 committed by Michele
parent 7e5a55eb5e
commit 937c38f0bd
1 changed files with 2 additions and 1 deletions

View File

@ -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)
- [Function input() in Python](https://www.w3schools.com/python/ref_func_input.asp)