 Strings Have Length
Strings Have Length 
There is also a very useful function in Python that can give the length of a string --  len() function.
Let's look at the example of using this function.
123string = 'watermelon' length = len(string) print(f'the length of the string "{string}" is {length}')
Swipe to start coding
You have such strings apple,grape, orange.
You have to get the length of each of these strings.  Using such comparison operators
>, < determine the longest string.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 3.85 Strings Have Length
Strings Have Length 
Deslize para mostrar o menu
There is also a very useful function in Python that can give the length of a string --  len() function.
Let's look at the example of using this function.
123string = 'watermelon' length = len(string) print(f'the length of the string "{string}" is {length}')
Swipe to start coding
You have such strings apple,grape, orange.
You have to get the length of each of these strings.  Using such comparison operators
>, < determine the longest string.
Solução
Obrigado pelo seu feedback!
single