Bank OZK interview question

When would you prefer R or Python over another, and why?