Passion/Python

integer random number 만들기

sunshout 2006. 11. 10. 22:46
>>> random.randint(1, 10)  # Integer from 1 to 10, endpoints included
7