import random
def format(amount):
num, rarityList = 100, []
for i in range(amount):
rarityList.append(num)
num /= random.randint(17, 37) / 10
if i >= 4:
num = round(num, 2)
else:
num = round(num)
return rarityList
for i in range(10):
print(format(10))
To embed this project on your website, copy the following code and paste it into your website's HTML: