s = "Hello World" print(" ") print(s) print("0123456789A") print(" ") print("THE LETTER O") print("============") print("How many times does the letter o appear >> ", s.count('o')) print("Treat the string as an array, where do o first occur >> ", s.find('o')) print("Treat the string as an array, where do o rightmost occur >> ", s.rfind('o')) print(" ") print("THE LETTER L") print("============") print("How many times does the letter l appear >> ", s.count('l')) print("Treat the string as an array, where do l first occur >> ", s.find('l')) print("Treat the string as an array, where do l rightmost occur >> ", s.rfind('l'))