Python))
Use the Python String Methods: str(), upper(), lower(), count(), find(), replace() & len(). Display the results.
x="Day by day, dear GOD, of thee three things I pray - to see thee more clearly; to love thee more dearly; to follow thee more nearly, Day by Day - St. Richard of ChiChester"
print("Upper : ",x.upper())
print("Lower : ",x.lower())
print("Length : ",len(x))
print("Str : ",str(x))
print("Count ",x.count("e"));
print("Find ",x.find("e"))
print("Count ",x.replace("day","DAY"))
print("Str : ",str(x))

Answer 2:
bill = float(input("Enter bill amount : "))
tip=bill *0.15
if(tip<2):
tip=2
print("Tip : ",tip)

Note : If you like my answer please rate and help me it is very Imp for me
Python)) Assume the variable x to be with the string of "Day by day, dear GOD,...