new to coding
was trying to make a number generator game where you guess a number and it says if it is higher or lower
however i am having issues with the code: an if statement which depends on the input and says if the number is higher or lower. Any answers would be greatly appreciated.
if input > x:
   print('smaller')
   if input == x:
        print('correct')
 
     
     
     
    