+ 1

Anyone have an idea on how to make a code randomizer for objects

1st Jan 2023, 7:07 AM
Willy Ad
Willy Ad - avatar
2 Answers
+ 7
Willy Ad , what we can do is to make some functions, that can be called randomly. it would be good if you do a try by yourself first and link this code here.
1st Jan 2023, 8:27 AM
Lothar
Lothar - avatar
+ 5
Can you describe more precisely what is a "code randomizer" for objects? If you want to randomize the order of elements inside a list, you can use random.shuffle(), it works with any type of data, not only numbers.
1st Jan 2023, 7:48 AM
Tibor Santa
Tibor Santa - avatar