#---startswith()method---
    #this method is used to check whether a string is starting with a sub string or not.it returns true if the string starts with specified sub string.
    #syantax:- string.string.startwith("specified_string")
#---endswith()method---
    #this method is used to check whether a string is ending with a substring it returns true if the string  end with specific substring.
    #syntax:-string.endswith("specified_string")
#------------------------------------------------------------------------
name="hi how are you?"
print(name.startswith('hi'))
#------------------------------------------------------------------------
name1="i am fine"
print(name1.endswith('fine'))
print(name1.endswith('ine'))
#-----------------------------END----------------------------------------