Python Basics: Chapter 06 – Functions and Loops Quiz
Interactive Quiz ⋅ 7 Questions
By David Amos
Functions are the building blocks of any Python program. They allow you to split your code up into new, reusable parts. Often, functions can be used outside of the original program in which they were defined. Think of them as Lego bricks of a sort, allowing you to build up a new program from pre-defined parts.
In this chapter, you will learn how to define and use your own custom functions in Python. You will also learn another fundamental aspect of programming: how to loop over data. Together, functions and loops are powerful tools to use in your programs, and mastering them will take your progress to the next level!
The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!