To convert any value to a string, use this general form:
x
str(x)
For example:
>>> str(17)
'17'
>>> str({'boy': 'Relmond', 'girl': 'Wirdley'})
"{'boy': 'Relmond', 'girl': 'Wirdley'}"
For general information, see Section 9, “Type str: Strings of 8-bit
characters”.