Computer Science, asked by Anonymous, 19 days ago

you are given a list of strings write a python program to print the string with the maximum number of distinct letters if there are more than one such strings print the string which comes first in alphabetical order

I didnt understood wat u said​

Answers

Answered by sonawanegorakshanath
1

HOPE MARK BRAINLIEST

THANKS Again

Attachments:
Answered by cheemtu
1

lst = input().split()

llst = [len(set(x)) for x in lst]

print(lst[llst.index(max(llst))])

Similar questions