Python array
15 results found
TypeError: 'type' object is not subscriptable in Python 3.x
I get an exception throw TypeError: 'type' object is not subscriptable in Python 3.8.2 when I was trying to create an object and access property of it.
TypeError: '<' not supported between instances of 'int' and 'str' in Python
I get an exception throw TypeError: '<' not supported between instances of 'int' and 'str' in Python 3.x when I was trying compare variable with condition if.
TypeError: list indices must be integers or slices, not float in Python
I get an exception throw TypeError: list indices must be integers or slices, not float in Python 3.8.2 when I trying search item text from an array.
TypeError: 'float' object cannot be interpreted as an integer in Python
I get an exception throw TypeError: 'float' object cannot be interpreted as an integer in Python 3.8.2 when I trying to loop and print a range of numbers
TypeError: list indices must be integers or slices, not list in Python
I get an exception throw TypeError: list indices must be integers or slices, not list in Python 3.8.2 when I trying print an array.
AttributeError: 'NoneType' object has no attribute 'append' in Python
I get an exception throw AttributeError: 'NoneType' object has no attribute 'append' in Python 3.8.2 when I'm trying to create and print a list task of a day.
UnboundLocalError: local variable referenced before assignment in Python
I get an exception throw UnboundLocalError: local variable referenced before assignment in Python 3.8.2 when Trying append item into an array.
TypeError: 'str' object does not support item assignment in Python
I get an exception throw TypeError: 'str' object does not support item assignment in Python 3.8.2 when I trying to get an item from an array.
TypeError: 'NoneType' object is not subscriptable in Python
I get an exception throw TypeError: 'NoneType' object is not subscriptable in Python 3.8.2 when I trying to sort an array ascending.
TypeError: object of type 'NoneType' has no len() in Python
I get an exception TypeError: object of type 'NoneType' has no len() in Python 3.8.0 when I trying to sort an array.
TypeError: 'list' object is not callable in Python 3.8.2
I got an exception throw TypeError: 'list' object is not callable in Python 3.8.2 when I trying to change text to upper case.
TypeError: only integer scalar arrays can be converted to a scalar index in Python
I get an exception TypeError: only integer scalar arrays can be converted to a scalar index in Python when I trying concat two arrays
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() in Python
Python throws an exception ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
SyntaxError: unexpected EOF while parsing in Python 3.8.2
Throw the error SyntaxError: unexpected EOF while parsing in Python 3.8.2 when I trying to loop an array of string items.
IndentationError: unindent does not match any outer indentation level in Python
I got an error IndentationError: unindent does not match any outer indentation level in Python 3.8.2 when I trying to get the value of an item in an array.