🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Python में कौन सा keyword function define करने के लिए प्रयोग होता है?

Which keyword is used to define a function in Python?

A
function
B
define
C
def
D
fun
Explanation

Python में किसी function को define करने के लिए def keyword का उपयोग किया जाता है।

def stands for define, and it's the correct Python syntax to create a function.


🔹 Example / उदाहरण:

def greet():
    print("Hello, World!")

greet()
# Output: Hello, World!

 

Correct Answer: C) def

Latest Updates