A

Admin • 833K Points
Coach

Q. Which of the following is used for string formatting?

  • (A) `%` operator
  • (B) format()
  • (C) f-strings
  • (D) All of the above
  • Correct Answer - Option(D)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

All these methods are used for string formatting in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.