Skip to content

This repository includes different methods to define Functions in Python.

Notifications You must be signed in to change notification settings

RezaSaadatyar/Function-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Functions-in-Python

In Python a function is defined using the def keyword:
Example:
def my_function():
print("Hello")

If you want to call a function, you need to use the function name in parenthesis:

my_function()

About

This repository includes different methods to define Functions in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages