#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Task 1"""


import decimal


ABSOLUTE_DIFFERENCE = decimal.Decimal('271.15')


def celsius_to_kelvin(degrees):
    """converting a Celsius temperature to Kelvin"""
    degrees = ABSOLUTE_DIFFERENCE + degrees
    return degrees


def fahrenheit_to_celsius(degrees):
    """converting fahrenheit to celsius."""
    degrees = (decimal.Decimal(degrees) - 32) * 5 / 9
    return degrees


def fahrenheit_to_kelvin(degrees):
    """converting a Fahrenheit temperature to Kelvin"""
    degrees = (decimal.Decimal(degrees) - 32) * 5 / 9
    degrees = ABSOLUTE_DIFFERENCE + degrees
    return degrees

@@ -58,16 +58,29 @@
 %22%0A%0A%0A
+from decimal 
 import 
-d
+D
 ecim
@@ -106,24 +106,16 @@
 RENCE = 
-decimal.
 Decimal(
@@ -367,32 +367,24 @@
  degrees = (
-decimal.
 Decimal(degr
@@ -533,16 +533,8 @@
  = (
-decimal.
 Deci
@@ -588,39 +588,48 @@
 TE_DIFFERENCE + 
+Decimal(
 degrees
+)
 %0A    return degr

in fahrenheit_to_kevin and f to c degrees = ABSOLUTE_DIFFERENCE + Decimal(degrees)