Hello, could please help find what is wrong with my code below?
race_results <- c(“Gi”, “Francesca”, “Lea”, “Vivian”, “Jessica”, “Esther”, “Mary”, “Yasmina”, “Megan”, “Janet”, “Tiffany”, “Kishan”, “Feng”, “Z”, “Tina”)
```{r}
# write find_place() here:
find_place <- function (runner) {
for (place in 1:length(race_results)) {
if race_results[place] == runner {
return place
}
}
return 0
}
# call and apply find_place() here:
print(find_place("Francesca"))`Preformatted text`
**You must select a tag to post in this category. Please find the tag relating to the section of the course you are on**
When you ask a question, don't forget to **include a link** to the exercise or project you're dealing with!
If you want to have the best chances of getting a useful answer quickly, make sure you **follow our guidelines** about how to [ask a good question](http://bit.ly/usecodecademyforumsbetter). That way you'll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile: