An integer is required. Операторы сравнения в scala. string indices must be integers, not 'str'. typeerror: list indices must be integers or slices, not tuple. can't multiply sequence by non-int of type 'str'.