P = []
Q = 0
G = [3,2,9,9,7]
Haten = 0
while Q <16:
P = G
β = 1
while β < len(G):
print(f"{G}")
if G[β] < G[β-1]:
Hate = G[β-1]
G[β-1] = G[β]
G[β] = Hate
β += 1
Q += 1
print(f"{G}")
To embed this project on your website, copy the following code and paste it into your website's HTML: