DEV Community

Rinkton
Rinkton

Posted on

Why function in Python declaring keyword "def"?

In programming language Python we can create functions, by writing before name of function "def". Why "def"? What's is meaning? Probably it is fool question, but I really don't know.

Top comments (2)

Collapse
 
eddex profile image
eddex

the def keyword is used to create or "DEFINE" a function :)
w3schools.com/python/ref_keyword_d...

Collapse
 
rinkton profile image
Rinkton

Got it. Thank you very much!