Program - Test if string starts with H
Topic: Program - Test if string starts with H
Solution
word = "Hello World" check = word.startswith('H') print(f"String starts with H?:{check}")
List all Python Programs
Solution
word = "Hello World" check = word.startswith('H') print(f"String starts with H?:{check}")