Skip to content
Codewilds

Lesson 12 of 34 · Functions

Quiz: Python Functions

Quizeasy10 XP1 min read

Functions are the backbone of every Python program. In this chapter you learned how to define them with def, why return beats print, how default values, keyword arguments, *args and **kwargs make functions flexible, and how scope, closures and lambdas let you treat functions as values.

Six questions stand between you and the chapter boss. Take your time, and read each explanation carefully — several of these details are classic interview questions.

What this quiz covers

The questions check what you learned in the Functions chapter of Learn Python. Not sure about a topic? Review its lesson first:

Keep learning

Need a quick reminder? The Python cheat sheet has every topic of Learn Python on one page.

Lesson last updated on .

Take the quiz ↓
Quiz+10 XP

Lesson 12 is part of the full course. The first 8 lessons are free.

Premium lesson

Unlock the full Learn Python course

  • All 34 lessons, bosses and quizzes — lifetime access
  • One payment of $35, no subscription
  • Finish within 30 days and claim $10.50 (30%) back
Play the 8 free lessons

Want more than one course?

The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.