programming-examples/python/String/Python program to check whether a string starts with specified characters.py
2019-11-15 12:59:38 +01:00

2 lines
61 B
Python

string = "w3resource.com"
print(string.startswith("w3r"))