AI_PRO/WeatherConditions.py
2021-05-19 15:04:10 +02:00

10 lines
386 B
Python

import random
def checkConditions():
weather = random.choice(['Clear Sky', 'Cloudy', 'Rainy', 'Hail'])
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