python match beginning of string code example
Example: python startswith
# str -> the prefix you are looking for
# beg -> where to start looking for the prefix
# end -> where to stop looking for the prefix
str.startswith(str, beg=0,end=len(string))