Ask coding questions

← Back to all posts
what is str
CHIN5033 (0)

what is the meaning of str and how it works i know its not in this latihan but i still need to know about it

Answered by mat1 (2712) [earned 5 cycles]
View Answer
mat1 (2712)

Str is short for string (a bunch of letters). Using it as a function lets you convert any object to a string.
For example:
"123" == str(123)
Please mark this comment as the answer if it answered your question. Thanks!

CHIN5033 (0)

pls reply fast is urgent