Untitled Note
By: Anonymous7/20/20234 views Public Note
elif(i==2):
s=input("Enter a string:")
x=re.findall("spain$",s)
if(x):
print("yes,the string-",s,"strats with spain")
else:
print("no,the string-",s,"does not end with spain")
elif(i==3):