Celsius to Fahrenheit
Convert every temperature in celsius to Fahrenheit using F = C * 9 / 5 + 32, and return the new array.
Example 1
celsius [0,100]
returns [32.0,212.0]
0 C is 32 F and 100 C is 212 F.
Constraints
1 <= len(celsius) <= 100
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More NumPy problems
- Clip ScoresBeginner
- CorrelationBeginner
- Count DistinctBeginner
- Count PositivesBeginner
- Count Target in GridBeginner
- Count the MaximumBeginner
- Cumulative MaxBeginner
- Day to Day ChangeBeginner