Built-in Functions
str()
Convert a value into readable text.
str(object='')
str() is useful when you need text for a message or label.
With no argument, it returns an empty string.
Parameters
| Name | Description |
|---|---|
| object | Optional value to convert to text. |
Returns
A string.
Try it
Run it and change it
score = 42
print("Score: " + str(score))