how to check str with prefix in python code example Example: python startswith str.startswith(prefix[, start[, end]])