Gunakan perpustakaan di Python
# Method 01
# Load the library module named "random"
import random
# Use a sub-function from that specific library
random.randint()
# Method 02
# Only load a specific funcion from a library
from random import randint
# Then use the sub-function
randint()
# Method 03
from random import *
Rajitha Amarasinghe