AI_PRO/WeatherConditions.py

10 lines
386 B
Python
Raw Normal View History

2021-05-19 04:02:14 +02:00
import random
def checkConditions():
2021-05-19 15:04:10 +02:00
weather = random.choice(['Clear Sky', 'Cloudy', 'Rainy', 'Hail'])
2021-05-19 04:02:14 +02:00
day_time = random.choice(['Day', 'Night'])
temperature = random.choice(['Freezing', 'Cold', 'Mild', 'Hot'])
wind = random.choice(['Windless', 'Strong Wind', 'Gale'])
humidy = random.choice(['Low', 'High'])
return weather, day_time, temperature, wind, humidy