message = 'Python is fun'
# check if the message starts with Python
print(message.startswith('Python'))
# Output: True
string="enjoy every moment"
result = string.startswith("en")
#Output True
result = string.startswith("in")
# Output False
line = 'Please have a nice day.'
print(line.startswith('Please')) # Output: True
# Remember it is case-sensitive
print(line.startswith('p')) # Output: False