March 28, 2024, 1:16 a.m. | Main

DEV Community dev.to

In this article you will learn how to use the single and double asterisk operators, to define functions that can take  an arbitrary number of arguments. But before we dive on that, we first need to understand how arguments works in Python.


There are two two types of arguments, 



  1. Positional arguments

  2. Keyword arguments.


Positional arguments are the arguments passed to a function in a specific order or position. The number of arguments and the order in which they are written …

article functions learn operators programming python types will

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior ML Engineer

@ Carousell Group | Ho Chi Minh City, Vietnam

Data and Insight Analyst

@ Cotiviti | Remote, United States