how to check if a word is at the beginning of a string python code example Example: python startswith str.startswith(prefix[, start[, end]])