the python random module functions depend on pseudorandom number generator function random()which generates the float number between and there are different types of functions used in random module which is given belowrandom random(this function generates random float number between and random randint(this function returns random integer between the specified integers random choice(this function returns randomly selected element from non-empty sequence example hello java program for beginners importing "randommodule import random we are using the choice(function to generate random number fro the given list of numbers print ("the random number from list is ",end=""print (random choice([ ])outputthe random number from list is random shuffle(this function randomly reorders the elements in the list random randrange(beg,end,stepthis function is used to generate number within the range specified in its argument it accepts three argumentsbeginning numberlast numberand stepwhich is used to skip number in the range consider the following example we are using randrange(function to generate in range from to the last parameter is step size to skip ten numbers when selecting import random print (" random number from range is ",end=""print (random randrange( )