Question: String length Task Standard input consists of a single line of text, s say. Write a Python script named string-length.py writes the length of s
String length Task Standard input consists of a single line of text, s say. Write a Python script named string-length.py writes the length of s to standard output. Example standard input Mary had a little lamb. Example standard output 23 Tip The Python built-in function for getting the length of a string is explained above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
