ex. from Random import randint
sudo apt install python3-pip
pip install --upgrade setuptools
pip install --upgrade pip
Write a function tempConvert() that takes in two parameters, a number and a string. The number is a temperature and the string indicates the temperature system (Fahrenheit or Celsius).
The function converts the inputted temp into the other system and returns the resulting temp.
ex. tempConvert(0, 'C') returns 32
tempConvert(50, 'F') returns 10
Look up the temperature conversion formulas yourselves :)