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 - Fork 0
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.
Shiva411/Functions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published