What is def in python?


#1

I was doing the conditionals and control flow exercise and find it to be difficult as i have no idea about for what those ‘def’ used for ?


#2

def defines a function.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.