I don’t think you should be a Volunteer Moderator with answers like that. He has a legitimate question if you follow the question that is asked. Codecedamey has this tendency to teach something one way and then ask a question in a completely wrong wording type that confuses a lot of newcomers.
’ At what index place does the word “disown” appear? Save that index place to the variable disown_placement ’
It’s asking where does the WORD APPEARS, not at which index the word BEGINS. The two are very differently worded. It confused me at first too and I fully understand the concept from learning it in other courses. I thought it was asking me to write an entire loop to account for every index of the character in a string.
While I agree with you completely about that. I don’t think you should be having different wording on a platform that tries to teach you how to code, and is still very much in the beginning stage of that. That’s like telling someone figuring out theoretical physics is part of their job, while they are literally taking physics 101 in high school. Like what kind of answer is that?
Hi, This piece of code prints 20 as the index value. What if there are multiple words in a sentence which has the same starting letter as “d”. This find method does it only look for the starting letter “D” or for the entire substring that’s given as argument. Can someone please explain?