"""author: @pythonpips"""

name = 'PythonPips'
name.startswith('Python')
# outputs True
How to Check if the String Ends with the Specified Prefix in Python

Subscribe to our newsletter