Added question about the current city
This commit is contained in:
@@ -51,6 +51,8 @@ def chatbot():
|
|||||||
# Check if the user wants to know the region
|
# Check if the user wants to know the region
|
||||||
elif 'region' in question:
|
elif 'region' in question:
|
||||||
print('The region is ' + location['region'] + '.')
|
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
|
# Check if the user wants to know the latitude
|
||||||
elif 'latitude' in question:
|
elif 'latitude' in question:
|
||||||
print('The latitude of your location is ' +
|
print('The latitude of your location is ' +
|
||||||
|
|||||||
Reference in New Issue
Block a user