str What does python mean?
Str in Python is a built-in function. The str() function converts objects into a form suitable for human reading.
Syntax
The following is the syntax of the str() method:
1 |
|
Parameters
object -- object.
Return value
Returns the string format of an object.
Example
The following shows an example of using the str() method:
1 2 3 4 5 6 7 |
|
Related recommendations: "Python Tutorial"
The above is the detailed content of str python what does it mean. For more information, please follow other related articles on the PHP Chinese website!