import random
guess_number = random.randint(1,100)
print(guess_number)

user_input = int(input("숫자를 입력하세요."))
while(user_input != guess_number):
    if user_input > guess_number:
        print("숫자가 큽니다.")
    else: #if user_input < guess_number:
            print("숫자가 작습니다.")
    user_input = int(input("숫자를 입력하세요."))
print("맞았습니다.")

2e3fc51f6472832abf21eb7672f12f91bda21d4d
<mask token>

<mask token>
print(guess_number)
<mask token>
while user_input != guess_number:
    if user_input > guess_number:
        print('숫자가 큽니다.')
    else:
        print('숫자가 작습니다.')
    user_input = int(input('숫자를 입력하세요.'))
print('맞았습니다.')

<mask token>
guess_number = random.randint(1, 100)
print(guess_number)
user_input = int(input('숫자를 입력하세요.'))
while user_input != guess_number:
    if user_input > guess_number:
        print('숫자가 큽니다.')
    else:
        print('숫자가 작습니다.')
    user_input = int(input('숫자를 입력하세요.'))
print('맞았습니다.')

import random
guess_number = random.randint(1, 100)
print(guess_number)
user_input = int(input('숫자를 입력하세요.'))
while user_input != guess_number:
    if user_input > guess_number:
        print('숫자가 큽니다.')
    else:
        print('숫자가 작습니다.')
    user_input = int(input('숫자를 입력하세요.'))
print('맞았습니다.')

import random
guess_number = random.randint(1,100)
print(guess_number)

user_input = int(input("숫자를 입력하세요."))
while(user_input != guess_number):
    if user_input > guess_number:
        print("숫자가 큽니다.")
    else: #if user_input < guess_number:
            print("숫자가 작습니다.")
    user_input = int(input("숫자를 입력하세요."))
print("맞았습니다.")
