Added question about the current city

This commit is contained in:
AndrewTrieu
2022-11-28 13:48:25 +02:00
parent c8f9ca834a
commit fbdc4a7226

View File

@@ -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 ' +