FunctionRacerProblemsRace

Price With Tax

BeginnerNumPyPython

A store adds a sales tax of rate percent to each price. Return an array of the final prices, where each is price * (1 + rate / 100).

Example 1

prices [100,20]
rate 10
returns [110.00000000000001,22.0]

10 percent tax makes 110.0 and 22.0.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More NumPy problems