value = 100
length = len(value)TypeError: object of type 'int' has no len()
value = 100
length = len(str(value))I tried to use len() on an integer.
Related case: https://pyai.io/en/python/basic/builtin-functions/
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
value = 100
length = len(value)TypeError: object of type 'int' has no len()
value = 100
length = len(str(value))I tried to use len() on an integer.
Related case: https://pyai.io/en/python/basic/builtin-functions/