Python Cari String di String Lain Dapatkan Hasil Terakhir

# Where in the text is the last occurrence of the string "casa"?
txt = "Mi casa, su casa."

x = txt.rfind("casa")

print(x)
knavels