What are the outputs? food = banana bread print(food.capitalize()) print(food.find(e)) print(food.find(na)) print(food.find(b)) print(food.rfind(e)) print(food.rfind(na)) print(food.rfind(b)) print(food.index(e))
Fantastic news! We've Found the answer you've been seeking!
Question:
What are the outputs?
food = "banana bread" print(food.capitalize()) print(food.find("e")) print(food.find("na")) print(food.find("b")) print(food.rfind("e")) print(food.rfind("na")) print(food.rfind("b")) print(food.index("e"))
Related Book For
Essentials Of Computer Organization And Architecture
ISBN: 9781284259438
6th Edition
Authors: Linda Null, Julia Labur
Posted Date: