Q. Which of the following is the correct syntax for defining a function in Python?
β
Correct Answer: (B)
def myFunction()
Explanation: The correct syntax for defining a function in Python is 'def myFunction()'.