What is the meaning of def in python?



What is the meaning of def in python?..

Answer / Rewti Raman Singh

In Python, `def` is a keyword used to define a function. Functions defined using `def` can be called by their name later in your code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is difference between list and set in python?

1 Answers  


Explain the use of try: except raise, and finally?

1 Answers  


Which method removes and returns last object of a list?

1 Answers  


How do you perform pattern matching in python? Explain?

1 Answers  


How would you define a protected member in a python class ?

1 Answers  


Define a method in Python?

1 Answers  


What is the statement that can be used in Python if a statement is required syntactically but the program requires no action?

1 Answers  


Is string iterable python?

1 Answers  


Are functions objects in python?

1 Answers  


Is map faster than for loop python?

1 Answers  


What do you know about iterator protocol?

1 Answers  


How we can copy an object in python?

1 Answers  


Categories