generated from mwc/lab_weather
weather.py
This commit is contained in:
@@ -15,10 +15,10 @@ from weather.weather_apis import (
|
|||||||
get_forecast
|
get_forecast
|
||||||
)
|
)
|
||||||
|
|
||||||
def print_weather(location=None, metric=False, verbose=False):
|
def print_weather(location=None, metric=False, verbose=True):
|
||||||
"""Prints out a weather report using the provided location, or using
|
"""Prints out a weather report using the provided location, or using
|
||||||
the user's current location if no location was provided.
|
the user's current location if no location was provided.
|
||||||
When metric is True, prints out the weather in metric units.
|
When metric is True, prints out the weather in metric units.
|
||||||
When verbose is True, prints out a more detailed report.
|
When verbose is True, prints out a more detailed report.
|
||||||
"""
|
"""
|
||||||
print("Not finished...") # YOUR CODE HERE!
|
|
||||||
|
|||||||
Reference in New Issue
Block a user