Day 11, Bug Fixing Exercise 1

Explanation

Line 4 was

    print(maximum)

but it should be
    return maximum
By using "return" we make sure that the function returns a value. Otherwise, it will return a None value. In our case, the value will be stored in the "celsius" variable in line 6.

Recommended Course

Python Mega Course: Learn Python in 60 Days, Build 20 Apps
Learn Python on Udemy completely in 60 days or less by building 20 real-world applications from web development to data science.