Skip to content

Instantly share code, notes, and snippets.

View aysnrdurak's full-sized avatar
💫
Send positive energy

Ayşenur Durak aysnrdurak

💫
Send positive energy
View GitHub Profile
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ı")