Uncategorized Print Only Integer From List Python / List indices must be integers or. Is_int = false # print result if it returns true if the string contains only integers and false if it has any character other than numeric.