Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert method to str python

>> dct = {1:3, 2:1}
>> len(str(dct))
12
>> print(str(dct))
{1: 31, 2: 0}
>> l = ["all","colours"]
>> len(str(l))
18
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #method #str #python
ADD COMMENT
Topic
Name
5+4 =