In this video course, you learned about two of the most essential concepts in programming: functions and loops. First, you learned how to define your own custom functions. You saw that functions are made up of two parts:
- The function signature, which starts with the
def
keyword and includes the name of the function and the function’s parameters - The function body, which contains the code that runs whenever the function is called
Functions help you avoid repeating similar code throughout your program by creating reusable components. This helps make your code easier to read and maintain.
Then you learned about Python’s two kinds of loops:
while
loops repeat some code while a given condition remains true.for
loops repeat some code for each element in a set of objects.
alex opoku on Sept. 9, 2023
This lesson is great I enjoyed it.
I am having problems with the certificates I receive for the courses I have successfully completed. I am unable to read all the text on the certificates.
I want to find out if there would be another certificate upon completing all the modules in a given course.