Computer Science, asked by punithchowdary8991, 10 months ago

Given a string determine its alphabetically maximum substring

Answers

Answered by chaitanyaagarwal97
0

Answer:

Explanation:

Note-'The following code is of python programming language'

str=input('Enter String=')

max=str[0]

for i in str:

      if i>max:

           max=i

print('Alphabetically max. substring=%s',max)

Similar questions