A

Admin • 833.24K Points
Coach

Q. Which of the following functions converts a number to a string?

  • (A) str()
  • (B) string()
  • (C) toString()
  • (D) convert()
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

The str() function converts numbers and other objects into strings.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.