from random import randint
num1 = randint(1,5)
print("Hey Quess a number from 1 to 5 :) ")
quess = int(input("press the number u quess:\n"))

while quess != num1:
    print("Wrong guess. Try again!")
    quess=int(input(""))
    if num1 == quess: 
     break
print("Congratulations! You guessed the number correctly") 
         
      