Help me in solving PYGUESS00 problem

My issue

Check the code

My code

# Click on the 'Run' button to check how the project work
import random
number = random.randint(1, 100)
ui=int(input())
if abs(number-ui)>10:
    print("Cold")
else:
    print("Hot")

Learning course: Python Projects for Beginners
Problem Link: Project - Guess the number in Python Projects for Beginners