Python Func Str
# Python2.x Python str() Function
[ Python Built-in Functions](#)
* * *
## Description
The str() function converts an object to a human-readable string format.
### Syntax
Here is the syntax for the str() method:
class str(object='')
### Parameters
* object -- The object.
### Return Value
Returns a string format of the object.
* * *
## Examples
The following examples demonstrate the use of the str() method:
>>>s = 'TUTORIAL'>>>str(s)'TUTORIAL'>>>dict = {'tutorial': '', 'google': 'google.com'}; >>>str(dict)"{'google': 'google.com', 'tutorial': ''}">>>
[ Python Built-in Functions](#)
YouTip