야구 게임(baseball game) - 파이썬(python)
간단한 야구 게임 (숫자 맞추기) 세자리수 and 네자리수 맞추기 게임 1. 3자리 # 야구게임 # 3자리 숫자 맞추기 게임 # x입력: 카운트 리스트 출력 # ================================================================== import random import time print("***Welcome to baseball game!***") time.sleep(1) print("you have just 15 chances. ") time.sleep(0.8) print("good luck!") time.sleep(0.8) i=dict() count=1 numlist=[0,1,2,3,4,5,6,7,8,9] anslist = random.sample(n..
2022.12.24