From 8cc549f3f2318c3d003c7204209dd6749b400d5c Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Mon, 10 Oct 2022 09:42:54 -0300 Subject: [PATCH 1/3] feat: Added PI Number --- Alexa.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Alexa.py b/Alexa.py index 8ebd427..fcc329b 100644 --- a/Alexa.py +++ b/Alexa.py @@ -315,6 +315,9 @@ def call_Anuja(): elif 'How to become a better programmer?' in command: cmd = talk('You can get the whole roadmap of programming over here !!') print('Here: \'https://roadmap.sh/\'') + elif 'Tell me the PI number': + cmd = talk('3.14159265359') + print(cmd) else: default = talk('I am sorry, I did not understand ') print(default) From 152a696e644193dbef7e52e06653e8638dd43bea Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Mon, 10 Oct 2022 09:44:02 -0300 Subject: [PATCH 2/3] fix: Added missing in --- Alexa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alexa.py b/Alexa.py index fcc329b..11f314a 100644 --- a/Alexa.py +++ b/Alexa.py @@ -315,7 +315,7 @@ def call_Anuja(): elif 'How to become a better programmer?' in command: cmd = talk('You can get the whole roadmap of programming over here !!') print('Here: \'https://roadmap.sh/\'') - elif 'Tell me the PI number': + elif 'Tell me the PI number' in command: cmd = talk('3.14159265359') print(cmd) else: From fc1e48973a2bd1389be392e111b58ac02d9cdcb5 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Mon, 10 Oct 2022 09:44:50 -0300 Subject: [PATCH 3/3] fix: Better message --- Alexa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alexa.py b/Alexa.py index 11f314a..a1f3507 100644 --- a/Alexa.py +++ b/Alexa.py @@ -316,7 +316,7 @@ def call_Anuja(): cmd = talk('You can get the whole roadmap of programming over here !!') print('Here: \'https://roadmap.sh/\'') elif 'Tell me the PI number' in command: - cmd = talk('3.14159265359') + cmd = talk('Here is the PI Number - 3.14159265359') print(cmd) else: default = talk('I am sorry, I did not understand ')