str="Python for All type of Design"
print(str)
print(str.endswith("a"))
print(str.endswith("n"))
print(str.find("n"))
print(str.find("o"))
print(str.find("of"))
str1="Aman23"
print(str1.isalnum())
print(str1.isalpha())
str2="123@"
print(str2.isdigit())
str3="123"
print(str3.isdigit())
"""
Output:
Python for All type of Design
False
True
5
4
20
True
False
False
True
"""
