Q. What is the correct syntax for defining a function in Python?

  • (A) define function(x)
  • (B) function x()
  • (C) def x():
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) def x():

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
226
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate