The _________ function converts a value to string?
a) len( ) b) str( ) c)list ( ) d)F8
Answers
Answered by
0
Answer: b)str()
Explanation: str() converts a datatype into strings.
Example:
string = "Hello World"
number = 2
print(str(number), string)
Answered by
0
Answer:
The String function converts the value of an object to a string.
Note: The String function returns the same value as toStringof the individual objects
Similar questions
Computer Science,
3 months ago
World Languages,
3 months ago
Math,
3 months ago
Math,
7 months ago
Math,
7 months ago
Hindi,
1 year ago
English,
1 year ago