Good evening,

I really need some Python help. I’m a beginner and have some hw for class:

Write a program that calculates longest substring of increasing letters in st, 
say st=‘Supercalifragilisticexpialidocious’. Do it in a few steps:
1.Find longest increasing substring starting from 0th position, use comparison 
<= to check if one letter greater than other
2. Use function len of object str(ing) to find length of string
3.Write one line of code that choses longest string from 2
4. Loop through all possible starting position start of the str, and find 
longest increasing substring of st.

I have no idea where to start this problem. Any help you can provide will be 
spectacular.

Thanks,

Mikhail

Sent from Mail for Windows 10

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to