numpy mendapatkan varian array
import numpy as np
x = [1,2,3,4,5]
variance = np.var(x)
Nutty Narwhal
import numpy as np
x = [1,2,3,4,5]
variance = np.var(x)