subject

Background The marketing team at CodeSignal would like to know how many users there are in each Coding Score range for standardized tests like the General Coding Assessment, so that they can share that information on our website. They've asked you to create a report containing that information.
Your Mission
As input, you are given a list of scores. Coding Score can be anywhere between 300 and 850. For the purpose of this task, levels are defined in the following way:
Poor: 300-599 Fair: 600-699 Good: 700-749 Excellent: 750-799 Elite: 800 Calculate how many users are there in each level, then return a list of strings where each string represents a level and the percentage of users who fall within that range formatted like LevelName: XX. XXX Percentages should be displayed with two decimal points of precision. Levels should be sorted in decreasing order of those numbers, omitting any levels that have no users. In case of a tie the higher level should appear first For example, if you had this input... [330, 723, 750, 825] For example, if you had this input... [330, 723, 730, 825] ...then you should return the following: [ Good: 50.00%', Elite: 25.00%', Poor: 25.00% ] [execution time limit] 4 seconds (py3) • [input] array. integer scores An array of integers in the range [300, 850] [output] array. string An array of strings formatted like LevelName: XX. XX%

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
What does operator overloading allow you to do?
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
You know the right answer?
Background The marketing team at CodeSignal would like to know how many users there are in each Co...
Questions
question
Physics, 03.08.2020 14:01
question
Geography, 03.08.2020 14:01
question
Mathematics, 03.08.2020 14:01
question
Business, 03.08.2020 14:01
question
Mathematics, 03.08.2020 14:01