import random

liczba = random.randint(0,1000000)
while True:
    liczbatw = int(input('podaj swoją liczbe od 0 do 10000 '))

    if liczba == liczbatw:
        print('gratuluje wygrałeś')
        break
    elif liczbatw < liczba:
        print('CHŁOPIE ZA MAŁO')
    else:
        print('CHŁOPIE COŚ TY ZROBIŁ ZA DUŻO!!!')