Float object is not subscriptable. Object is not iterable python. typeerror: argument of type 'int' is not iterable.