Replymessage unavailable
There's a module random in Python. Functions like random (a random float), randint (a random integer), shuffle (randomises a list), and more (the official documentation has a list of them; it's a good idea to check them out) can be imported from it.
Try import random and use random.randint(1, 50), random.shuffle([1, 2, 3, 4]) etc.
Or try from random import randint, shuffle and use them like this: randint(1, 50) and shuffle([1, 2, 3, 4])