knowledgebase

Viewing articles tagged “Customizing function arguments in Python”

Viewing articles tagged “Customizing function arguments in Python”

description

Python Keyword-Only Arguments: Fine-Tuning Function Parameters

You can use the variables in formal argument list as keywords to pass value. Use of keyword arguments is optional. But, you can force the…

arrow_forward
description

Python Positional-Only Arguments: Strict Parameter Ordering

It is possible to define a function in which one or more arguments can not accept their value with keywords. Such arguments may be called…

arrow_forward
arrow_back « Back