import random #모듈 불러오기
rsp = ['가위','바위','보']
my = input()
com = random.choice(rsp)
if my == com:
print('컴퓨터:', com)
print('비겼습니다')
elif my == '가위' and com == '보' or my == '바위' and com == '가위' or my == '보' and com == '바위':
print('컴퓨터:', com)
print('이겼습니다!')
else:
print('컴퓨터:', com)
print('졌습니다...')
To embed this project on your website, copy the following code and paste it into your website's HTML: