1.44mb 짜리 게임 만들어봄
choices
=
[
'가위'
,
'바위'
,
'보'
]
user_choice = input("가위, 바위, 보 중 하나를 입력해주세요")
if user_choice not in choices:
print("제대로 고르십쇼")
else:
game_index = choices.index(user_choice) + 1
game_index = 0 if game_index == 3 else game_index
game_choice = choices[game_index]
print(f"저는 {game_choice}를 골랐습니다. 제가 이겼네요")
사실 400 바이트 따리임 ㅋ
버그 제보는 안받음 수고