functions random numbers given the same inputsmost computer programs generate the same outputs every timeso they are said to be deterministic determinism is usually good thingsince we expect the same calculation to yield the same result for some applicationsthoughwe want the computer to be unpredictable games are an obvious examplebut there are more making program truly nondeterministic turns out to be not so easybut there are ways to make it at least seem nondeterministic one of them is to use algorithms that generate pseudorandom numbers pseudorandom numbers are not truly random because they are generated by deterministic computationbut just by looking at the numbers it is all but impossible to distinguish them from random the random module provides functions that generate pseudorandom numbers (which will simply call "randomfrom here onthe function random returns random float between and (including but not each time you call randomyou get the next number in long series to see samplerun this loopimport random for in range( ) random random(print(xthis program produces the following list of random numbers between and up to but not including exercise run the program on your system and see what numbers you get run the program more than once and see what numbers you get the random function is only one of many functions that handle random numbers the function randint takes the parameters low and highand returns an integer between low and high (including bothrandom randint( random randint(