►
Run
x = 'abcdef' value = 'ef' result = x.endswith(value) print(result)
Output