if string is start of string python code example Example: python startswith str.startswith(prefix[, start[, end]])