Skip to content

Language

Sign in

Learn › Class 12 › Computer Science / Informatics Practices › Python revision, functions, exceptions

Functions in Python

5 questions. You see the answer straight after each one. Scoring 80% or more counts the topic as mastered. Your results stay on this device.

Question 1 of 5
Is def f(a=1, b): valid Python?

Reviewed by EduFlint team on 1 Dec 2026 · version 1

Written by us for this site. Independent; not affiliated with NCERT or CBSE.

Report a mistake

Looking for another topic?