Early functions with Python, first entry. Using a function that takes the sky color and outdoor temperature and returns my definition of a beautiful day.
def beautiful_day(sky_color, temperature): temperature = 'degrees' sky_color = 'blue' return 'it is a beautiful day when it is 50 '+ temperature + ' and blue skies' + 'more than 0 people on the street' beautiful_day('blue', 50)
'it is a beautiful day when it is 50 degrees and blue skiesmore than 0 people on the street'