Skip to content

Files

Latest commit

46662c8 · Apr 18, 2012

History

History
10 lines (8 loc) · 355 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 355 Bytes

3-6-9 Game Using python

This is the set of source codes to play the 3-6-9 game using Python.

369_sungchi.py

  1. 숫자 1부터 99까지 문자로 바꾼 리스트로 for문을 시작
  2. count 변수에 3,6,9 문자가 몇개있는지 더함
  3. count 가 참이면 '짝'을 count만큼 출력
  4. count 가 0이면 숫자를 출력