►
Run
x = 'abcdef' value = 'ef' start = 1 end = 5 result = x.endswith(value, start, end) print(result)
Output