import random
deaths = 6
guess = random.randint(0,10)
if guess == deaths:
# then print this
print('Correct!')
# else if guess is lower than deaths
elif guess < deaths:
# then print this
print('No, it is higher.')
# if guess is none of the above
else:
# print this
print('No, it is lower')
Correct!