From 7e5a55eb5e2ca6d50f5bbf6fd790b2b209bfd4a4 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Mon, 30 Jan 2023 15:56:03 +0000 Subject: [PATCH] docs(merge_two): add the exit condition for inputs --- subjects/devops/merge_two/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subjects/devops/merge_two/README.md b/subjects/devops/merge_two/README.md index 90a09346..e8feea74 100644 --- a/subjects/devops/merge_two/README.md +++ b/subjects/devops/merge_two/README.md @@ -9,6 +9,8 @@ It will prompt the user to create a new dictionary asking for keys and values. 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. +> If the key entered by the user is `exit` the function will stop asking for new key/values pairs and proceed to generate the desired output. + Here is the prototype of the function: ```python