---
title: "Jay pratap (@jaypratap) | Hashnode"
description: "Python Developer. Read the latest articles by Jay pratap on Hashnode."
url: "https://hashnode.com/@jaypratap"
---

@jaypratap

# Jay pratap

@jaypratap · Joined October 2020

Python Developer

### [What is decorator in python](https://jaypratap.hashnode.dev/what-is-decorator-in-python?utm_source=hashnode&utm_medium=feed)

As a developer best way to write code within a function or class. but what if our code enter in function and return exception error. Decorator is function which validate the passing parameter in function. if parameter is valid then code enter in the ...

1 min read · [jaypratap.hashnode.dev](https://jaypratap.hashnode.dev/what-is-decorator-in-python?utm_source=hashnode&utm_medium=feed)

[Sep 1, 2021](https://hashnode.com/posts/what-is-decorator-in-python/612f6d97c21ac123ca3772fb)

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

In any programming language we make a function to perform certain task. Sometimes we don’t know how many arguments will come from user sites, In that case we use \*args. def function\_args(\*args): for i in args: print(i) call function with ...

1 min read · [jaypratap.hashnode.dev](https://jaypratap.hashnode.dev/difference-between-args-and-kwargs-in-python?utm_source=hashnode&utm_medium=feed)

[Jan 17, 2021](https://hashnode.com/posts/difference-between-args-and-kwargs-in-python/60041039848f4c3b9a0efe7e)
