This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
data = np.random.randint(1, 7, 60000) | |
# Yukarıdaki kod satırındaki değişkenler şu şekildedir: | |
# (başlangıç değeri, bitişten sonraki değer, örnek sayısı) | |
print("Sample Space: ", np.unique(a)) | |
plt.hist(a, bins=6) | |
plt.ylabel("Sonuçların Elde Edilme Sayısı") |