import matplotlib.pyplot as plt

A = []
B = []
S = 0
C = []
D = []

for i in range(500):
    A.append((i))
    B.append(((i)) ** 2)
plt.bar(A, B)
plt.title('(The length of life to experience)')
plt.ylabel('数量')
plt.show()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: