in Python by (31.6k points)
What Is A Function In Python Programming?

1 Answer

0 votes
by (32.2k points)

A function is an object which represents a block of code and is a reusable entity. It brings modularity to a program and a higher degree of code reusability.

Python has given us many built-in functions such as print() and provides the ability to create user-defined functions.

Related questions

0 votes
asked Feb 11, 2020 in Python by rahuljain1 (6.5k points)
0 votes
asked Jun 24, 2020 in Python by Robindeniel (20.8k points)
+1 vote
asked Jan 30, 2022 in Python by sharadyadav1986 (31.6k points)