Check if String Ends with Substring using Python April 9, 2021 Python 0 Comments 298 Views endswith method text = 'Hello world' result = text.endswith('world') print(result)
Leave a Comment
Cancel reply