Write a program to Calculate length of a string
Topic: Write a program to 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)}")