line = 'Please have a nice day.' print(line.startswith('Please')) # Output: True # Remember it is case-sensitive print(line.startswith('p')) # Output: False