So far in Python, we’ve been writing programs that can only be used once. What if
we want to generalize some block of code and use it multiple times in slightly
different ways? That’s where functions come in. We have seen Python built-in
functions. This includes, if you remember, list(), input(), output(), etc. Let’s
make our own function!
Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact email@example.com for inquiries.