

str1 = 'sagar chodavadiya'
print(str1.replace('s','g'))
print()

str2 = 'SAGAR CHODAVADIAY'
print(str2.lower())
print()

str3 = "sagar chodavadiya"
print(str3.upper())
print()

str4 = "sagar chdavadiya"
print(str4.count("a",0,6))

str5 = "     sagar chodavadiya"
print(str5.strip())
print()

str6 = "sagar chodavadiya      "
print(str6.rstrip())
print()

str7 = "    sagar chodavadiya    "
print(str7.strip())
print()

str8 = "sagar chodavadiya"
print(str8.find("di"))
print()

str9 = "patel is awesome"
print(str9.startswith("patel"))
print(str9.endswith("patel"))
print()

str10 = "SAGAR CHODAVADIYA"
str11 = "sagar chodvadiya"
print(str10.isupper())
print(str11.islower())
print()


