Question: python Do the following: Create a function that uses the random module to assign a value to the rannum variable, print out a message stating
Do the following: Create a function that uses the random module to assign a value to the rannum variable, print out a message stating "Your assigned random number is rannum" (where rannum is replaced with the value in the rannum variables, and return the wake of rannum Call the function you created and assign the result to a variable called "myrannum". Hint: remember that random numbers can be generated with the following random.randrangemin, max) - where you replice min with the number you would like the lower limit to be and replace max with the number you would like the upper limit to be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
