Store temperature in celsius for last 7 days of Mumbai in array. Define function where you can pass this array as argument. Convert them in fahrenheit and return array of same.
- Define function 'convert' which will accept array of celsius data.
- Convert each entry into fahrenheit and store in array.
- Function should pass all test cases.
Instructions:
-
Program should be written in file conversion.py
-
Function name should be convert.
-
Input
Type: List Value: [32,31,34,33,29,35,30]
-
Expected Output
Type: List Value: [89.6,87.8,93.2,91.4,84.2,95,86]