What do each of the following expressions evaluate to?
"Wow".replace("W", "t").upper()"banana".find("a")" O_O ".strip().replace("_", "-")"banana".count("a")Write a single expression that evaluates to the number
of occurrences of the letter āEā, regardless of case, in a string
s.
Evaluate the following expressions:
"To be or not to be".find("be") == 4"Boo".replace("o", "O").lower() <= "boo""no" in "To be or not to be""stark" not in "Tony Stark""bat" > "rat""tap" < "bear""Jam" < "bet""STEAM" > "STEP!"What does the following program print?
def sub_lt(s):
count = 0
for i in range(len(s)):
if s[i:] < s:
count += 1
return count
print(sub_lt("brambleFork"))