find the output of following code:
def add(a,b): return(a+b) print(add(3,4))
निम्नलिखित कोड का आउटपुट :
In Python, the def keyword is used to define a function
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.