I have strings such as:
Python is awesome...
I really have to tell you ......
never give up..
I would like to use python to count how many dots are there exactly at the end of the string.
The function:
string.endswith(".")
Only gives me True or False boolean value. Is there a way to get the exact number?