Skip to content

Early functions with Python. Using a function that takes the sky color and outdoor temperature and returns my definition of a beautiful day.

Notifications You must be signed in to change notification settings

kathleenreily/Python1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Python1

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)

once you enter, this will print the following to the console:

'it is a beautiful day when it is 50 degrees and blue skiesmore than 0 people on the street'

About

Early functions with Python. Using a function that takes the sky color and outdoor temperature and returns my definition of a beautiful day.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published