<jupyter_start><jupyter_text>Temperature Conversion<jupyter_code>def main():

  

 class TemperatureConversion:
  def __init__(self, temp=1):
    self._temp = temp
    
 class CelsiusToFahrenheit(TemperatureConversion):
  def conversion(self):
    return (self._temp * 9) / 5 + 32

 class FarenheitToCelsius(TemperatureConversion):
  def conversion(self):
    return ((self._temp - 32) * 5) / 9

 class CelsiusToKelvin(TemperatureConversion):
  def conversion(self):
    return self._temp + 273.15

 class KelvinToCelsius(TemperatureConversion):
  def conversion(self):
    return self._temp - 273.15

 
 tempInCelsius = float(input("Enter the temperature in Celsius: "))
 convert = CelsiusToKelvin(tempInCelsius)
 print(str(convert.conversion()) + " Kelvin")
 convert = CelsiusToFahrenheit(tempInCelsius)
 print(str(convert.conversion()) + " Fahrenheit")

 tempInFarenheit = float(input("Enter the temperature in Farenheit: "))
 convert = FarenheitToCelsius(tempInCelsius)
 print(str(convert.conversion()) + " Celsius")

 tempInKelvin = float(input("Enter the te1mperature in Kelvin: "))
 convert = KelvinToCelsius(tempInCelsius)
 print(str(convert.conversion()) + " Celsius")


main()<jupyter_output>Enter the temperature in Celsius: 10
283.15 Kelvin
50.0 Fahrenheit
Enter the temperature in Farenheit: 800
-12.222222222222221 Celsius
Enter the te1mperature in Kelvin: 800
-263.15 Celsius
{'fraction_non_alphanumeric': 0.1079136690647482, 'fraction_numerical': 0.04244604316546763, 'mean_word_length': 5.439814814814815, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '128723', 'license': 'Apache-2.0', 'n_tokens_mistral': 524, 'n_tokens_neox': 461, 'n_words': 102, 'path': 'Midterm_Exam_(Guico).ipynb', 'repo_name': 'Guico-Renz/-OOP-58001', 'size': '1390'}