Program - Calculate length of a string
Topic: Program - Calculate length of a string
Solution
word = "Hello World" print(f"Length of string: {len(word)}")
List all Python Programs
Solution
word = "Hello World" print(f"Length of string: {len(word)}")