Python에 내장되어 있는 모듈들을 import해서 사용할 수 있다.
from random import randint
user_choice = int(input('choose number'))
pc_choice = randint(1,50)
print(pc_choice)
if user_choice == pc_choice :
print('you won')
elif user_choice < pc_choice :
print('lower')
elif user_choice > pc_choice :
print('bigger')