#lenfunction #stringlength #stringspython
What is the length of the following strings?
'surreptitious'
'hypothetically'
'inconsequential'
'interdisciplinary'
'hydroxychloroquine'
'incomprehensibilities'
'Those who don't learn from history are doomed to repeat it.'
______________________________________________________________________________________
If we want to know a string length we pass a string into the len() function in Python.
Examples:
The string 'table' contains 5 characters.
The string 'a film "Come and See" by Elem Klimov' contains 36 characters including letters, spaces and quotation marks.
Python course #2 in English 3
Python programming language course in English
#pythonexercises #pythontasks #python程式設計語言 #python程式設 #程式設計語言 #程式設
On this page of the site you can watch the video online len() function in Python. How to measure the length of a string in Python? with a duration of hours minute second in good quality, which was uploaded by the user Olga Soboleva 08 June 2020, share the link with friends and acquaintances, this video has already been watched 83 times on youtube and it was liked by 1 viewers. Enjoy your viewing!