---
title: "Discussion on \"*args and **kwargs in python\" | Hashnode"
description: "Discussion on \"*args and **kwargs in python\". *args passes variable number of arguments to a function WHILE **kwargs passes variable number of keyword arguments to a function."
url: "https://hashnode.com/posts/args-and-kwargs-in-python/64726d5c481e842b3c6cafd3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\*args and \*\*kwargs in python](https://rivondave.hashnode.dev/args-and-kwargs-in-python?utm_source=hashnode&utm_medium=feed)

\*args passes variable number of arguments to a function WHILE \*\*kwargs passes variable number of keyword arguments to a function.

May 27, 2023 · 3 min read · rivondave.hashnode.dev  
Read the article

-   [#arguments](https://hashnode.com/tag/arguments)
-   [#keywords](https://hashnode.com/tag/keywords)
-   [#python](https://hashnode.com/tag/python)
-   [#args](https://hashnode.com/tag/args)

## Written by

[rivondave](https://hashnode.com/@rivondave)

@rivondave · Lagos, Nigeria

  
[View profile](https://hashnode.com/@rivondave)

Open Source • Web Development • ML • Predictive Modelling • Influencing the tech world 🌍

Open Source • Web Development • ML • Predictive Modelling • Influencing the tech world 🌍

## Responses 2

Markdown supported · ⌘↵ to post

[Sam](https://hashnode.com/@techysam)

[May 30, 2023](https://hashnode.com/posts/args-and-kwargs-in-python/64726d5c481e842b3c6cafd3/comment/6475cd22deb8b4bf8d8018cd)

Great write up

[Tech Geek](https://hashnode.com/@techbro757)

[May 30, 2023](https://hashnode.com/posts/args-and-kwargs-in-python/64726d5c481e842b3c6cafd3/comment/6475cccedeb8b4bf8d8018b6)

Never even thought to learn about this
