Typeerror string indices must be integers. <' not supported between instances of 'str' and 'int'. not supported between instances of str and int python. typeerror: '>' not supported between instances of 'nonetype' and 'int'. int str python.