In Python, a function may contain default arguments. According to Python’s…
PYQ EMRS TGT/PGT (ESSE) 2025
In Python, a function may contain default arguments. According to Python’s syntax rules, which of the following function headers (prototypes) correctly defines a function with default arguments?
- A.
def SimpleInterest(P=100, R, T):
- B.
def SimpleInterest(P, R=10, T):
- C.
def SimpleInterest(P, R, T=1):
- D.
def SimpleInterest(P=100, R, T=1):
Attempted by 882 students.
Sign up free to check your answer
Sign up freeLoading lesson…

