random 라이브러리 사용법 from random import * random 라이브러리 import 해주기. random() randrange() randint() 연습 # 랜덤 함수 # '랜덤 라이브러리 모든 것을 사용하겠다.'라는 의미. from random import * print(random()) # 0.~~~~~ random 함수를 통해서 '난수'를 뽑아낸 것이다. # 0.0 ~ 1.0 미만의 임의의 값 생성. print(random() * 10) # 0.0 ~ 10.0 미만의 임의의 값 생성. print(int(random() * 10)) print(int(random() * 10)) print(int(random() * 10)) # 0 ~ 10 미만의 임의의..