
n9ine
Member
LV
2
- Awards
- 5
Grafik bayağı garibime gitti, paylaşayım dedim

Python:
import matplotlib.pyplot as plt
n1, n2 = 8, 8
x = []
y = []
for i in range(50):
print(n2/n1)
y.append(n2/n1)
x.append(i)
nth = n1 + n2
n1 = n2
n2 = nth
plt.plot(x, y, label="fibonacci")
plt.legend()
plt.title("fi")
plt.xlabel("x")
plt.ylabel("y")
plt.show()