Created
August 8, 2022 08:55
-
-
Save aysnrdurak/927ee49a9ab9530b122111153f70d581 to your computer and use it in GitHub Desktop.
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ı") | |
plt.xlabel("Elde Edilebilecek Sonuçlar") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment