# %% Defintion of class Temp_conv: class Temp_conv(object): def c2f(self, c): f = c*(9/5) + 32 return f def c2k(self, c): k = c + 273.15 return k