MCQ Answer

def keyword use for?

def keyword use for?

def कीवर्ड का उपयोग किसके लिए किया जाता है?
Topic : Functions in Python

A. Define keyword in python

B. Define variable in python

C. Define function in python

D. All of the above ऊपर के सभी




Correct Answer is :

C. Define function in python



Explanation

In Python, the def keyword is used to define a function. Functions are blocks of reusable code that perform a specific task. The def keyword signals the start of a function definition, and it is followed by the function name, a pair of parentheses (which may contain parameters), and a colon. The function body, containing the actual code to be executed, is indented below the def statement.

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz