data = ['str', 'frt']
max(data, key=len)
The max function returns only one of the strings.
How can I make it return both of the strings?
The length of both strings is equal, so max should return both the strings but it returns only one so is there a way to return all max items?