From fbdc4a72264caf7c6ea8717dc63df6bc4326f9cc Mon Sep 17 00:00:00 2001 From: AndrewTrieu Date: Mon, 28 Nov 2022 13:48:25 +0200 Subject: [PATCH] Added question about the current city --- chatbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chatbot.py b/chatbot.py index ed2769f..41edb8a 100644 --- a/chatbot.py +++ b/chatbot.py @@ -51,6 +51,8 @@ def chatbot(): # Check if the user wants to know the region elif 'region' in question: print('The region is ' + location['region'] + '.') + elif 'city' in question: + print('The city is ' + location['city'] + '.') # Check if the user wants to know the latitude elif 'latitude' in question: print('The latitude of your location is ' +