Skip to content

In Python, a function is a reusable block of code defined with def, while a method is a function tied to an object. Functions take parameters (placeholders) and receive arguments (actual values), and the return statement sends back results.

Notifications You must be signed in to change notification settings

Shiva411/Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Functions

In Python, a function is a reusable block of code defined with def, while a method is a function tied to an object. Functions take parameters (placeholders) and receive arguments (actual values), and the return statement sends back results.

About

In Python, a function is a reusable block of code defined with def, while a method is a function tied to an object. Functions take parameters (placeholders) and receive arguments (actual values), and the return statement sends back results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published