ss = "012345.78"
print (ss.endswith (".", 1,7))
the result is that True, has no doubt ~
but I inadvertently used the keyword argument to pass
ss.endswith ("., start=1, end=7)
ss.endswith ("., 1, end=7)
* * did not expect to throw exceptions
TypeError: endswith () takes no keyword arguments**
what is the reason, please?