swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

Modification to introduce functions more gently and differentiate between performing actions and returning a value #905

Closed mitotic closed 9 years ago

mitotic commented 9 years ago

As part of the final assignment, this is a small addition to the Functions section of the novice Python lesson. The modifications introduce functions more gently, starting with a simple function that adds two numbers. A couple of challenge questions are then used to illustrate the distinction between performing actions and returning a value from a function.

R. Saravanan

rgaiacs commented 9 years ago

Thanks for this pull request. Could you reopen it at https://github.com/swcarpentry/python-novice-inflammation?