Cody

Problem 44949. Find the Best Hotels

Given three input variables:

  • hotels - a list of hotel names
  • ratings - their ratings in a city
  • cutoff - the rating at which you would like to cut off

return only the names of those hotels with a rating of cutoff value or above in an output variable good.

Solution Stats

65.96% Correct | 34.04% Incorrect
Last solution submitted on Oct 14, 2019