[python] 시험삼아 만들어본 로또 번호 생성기

import random
import simplejson as json

full = list(range(1,46))

for _ in range(0,5):
        random.shuffle(full)
        result = json.dumps({"lotto": full[0:5]})
        print(result)

 

 

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
157 python에서 sqlite 사용법 file 졸리운_곰 2017.04.26 876
156 Django App 생성 file 졸리운_곰 2017.03.06 472
155 Atom을 Python 개발 툴로 사용하기 file 졸리운_곰 2017.03.06 938
154 Developing a RESTful micro service in Python file 졸리운_곰 2017.03.06 1120
153 Python의 pandas를 사용하면 몇줄의 코드만으로 Data Analysis를 쉽고 강력하게 처리할 수 있다 file 졸리운_곰 2017.03.05 648
152 Django - 설치 및 Hello World 웹 서비스 만들기 졸리운_곰 2017.03.05 549
151 IPython Notebook을 통한 데이터 분석 #3 file 졸리운_곰 2017.03.05 754
150 IPython Notebook을 통한 데이터 분석 #2 file 졸리운_곰 2017.03.05 518
149 IPython Notebook을 통한 데이터 분석 #1 file 졸리운_곰 2017.03.05 686
148 ipython 기본 사용법 졸리운_곰 2017.03.05 563
147 IPython Tutorial 사용법 file 졸리운_곰 2017.03.05 1118
146 matplotlib으로 하트 그리기 file 졸리운_곰 2017.03.04 2278
145 python / itertools — Functions creating iterators for efficient looping 졸리운_곰 2017.03.04 701
144 python / List Comprehension file 졸리운_곰 2017.03.04 453
143 Python List Comprehensions: Explained Visually file 졸리운_곰 2017.03.04 493
142 Python: List Comprehensions 졸리운_곰 2017.03.04 449
141 파이썬 코딩 컨벤션 PEP 졸리운_곰 2017.03.04 681
» [python] 시험삼아 만들어본 로또 번호 생성기 졸리운_곰 2017.02.28 2214
139 BitTorrent 프로토콜의 동작원리 file 졸리운_곰 2017.02.26 1014
138 Torrent의 원리 file 졸리운_곰 2017.02.26 1445
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED