+ 1

How can we make function in python?

18th Feb 2019, 3:21 AM
Hope
4 Answers
+ 7
def keyword is used to declare functions in python. You can look at this module for more info. https://www.sololearn.com/learn/Python/2285/
18th Feb 2019, 3:34 AM
Arushi Singhania
Arushi Singhania - avatar
+ 1
def functionName (parameters): # Code goes here
18th Feb 2019, 3:36 AM
Pedro Tortello
Pedro Tortello - avatar
- 2
Hello
18th Feb 2019, 3:50 AM
LambaKean
LambaKean - avatar
- 2
Hallo
18th Feb 2019, 3:50 AM
Ready Fire
Ready Fire - avatar