A

Admin • 832.27K Points
Coach

Q. Which of the following keywords is used to define an inline condition?

  • (A) if
  • (B) else
  • (C) elif
  • (D) ternary
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Python uses inline `if` expressions for one-line conditions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.