+ 1

What is the keyword used to create a function?

2nd Oct 2019, 2:47 AM
Heyitstayyy
Heyitstayyy - avatar
4 ответов
+ 4
def myFunction(): print("Hello World")
2nd Oct 2019, 2:57 AM
Daniel C
Daniel C - avatar
+ 3
You should go through this python tutorial for functions: https://www.sololearn.com/learn/Python/2285/
2nd Oct 2019, 5:27 AM
Lothar
Lothar - avatar
+ 2
def
2nd Oct 2019, 3:58 AM
Sonic
Sonic - avatar