In session 2 homework, it is required to replace The text “fruit” with “company”. I search the internet and find a default function called “find”. But I cannot use the function and error prompts. What happen?
hint:
after
try to add this line
is it what you expect?
hint2:
what is the difference between
s.upper
and
s.upper()
Ic, thanks