Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

in the function call calculate_tax(amount=100, rate=0.07), what type of…

Question

in the function call calculate_tax(amount=100, rate=0.07), what type of arguments are being used?

  • keyword arguments
  • default arguments
  • positional arguments
  • required arguments

Explanation:

Brief Explanations

Keyword arguments pass values by explicitly naming the parameter they correspond to, which matches the format parameter=value shown in the function call. Default arguments use pre-defined values if no input is given, positional arguments rely on order, and required arguments are mandatory inputs without explicit naming here.

Answer:

Keyword arguments