반응형

Python 랜덤 번호 생성 예제

 

# Program to generate a random number between 0 and 9

# importing the random module
import random

print(random.randint(0,9))
반응형

+ Recent posts