- 2
Python program to get length and largest word in the sentence
3 Antworten
0
you would do something like :
if there are no punctuation or special characters other than space.
- split the sentence by spaces to get a list with words.
- sort the list by length of elements.
- take the last element (there may be many words of the same length)
- 1
hey Kolli Saikeerthi if you don't mind showing your code attempt to the problem
- 1
Hey I am not geeting output when I do in online compiler