+ 1

Anyone help undestand the def function

29th Oct 2021, 10:43 AM
Masingita Hobyane
2 Respuestas
+ 2
The keyword def is used to declare the function def function_name(parameters): # What the function does goes here return result
29th Oct 2021, 12:00 PM
Arun Jamson
Arun Jamson - avatar
+ 1
def is reserved word for defining functions Like def solve (): #code solve()
29th Oct 2021, 10:53 AM
Mohd Aadil
Mohd Aadil - avatar