Q. What is the correct syntax to create a function in Python?

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
233
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
95%
Success Rate