123fish.log
로그인
123fish.log
로그인
난수 생성 모듈 random
manmarru
·
2023년 8월 21일
팔로우
0
python
0
파이썬
목록 보기
1/5
import random
random: 0 이상 1 미만의 난수 생성
randint(a,b): a 이상 b 이하의 난수 생성
choice(seq): 시퀀스에서 임의의 요소를 선택
shuffle(seq): 시퀀스의 요소를 무작위로 섞음
manmarru
팔로우
0개의 댓글
댓글 작성