I am learnging python and need a little help. I am trying to use "str.endswith()" but having a hard time for some odd reason.
I am trying to figure out if a sentence ends with a "." but have been unable to do so....
Thanks in advance.
text = input("Add sentence here: ")
print("sentence closed correctly")
print("please end the sentence with . ")