random module

import random

data = [10, 3, 17, 50, 15]
random.shuffle(data)

print(data)

Leave a Comment

Your email address will not be published. Required fields are marked *