Question: ACTIVITY 5: week 4 . Use PYTHON please Activity 5) Write a function that simulate roll the dice. The program takes a number of roll
Activity 5) Write a function that simulate roll the dice. The program takes a number of roll from the user as an argument. Within the function, for each round should display the random number between 1 and 6. Hint: use random number to randomly select a number between 1 and 6 X2 pc.Windows.py, How many times do you want to roll? When the program is ran, it asks the user to enter the number of rolls... 1 x up Windows py.ee How many times do you want to roll? 3 Roll 1 6 Roll 2 2 Roll 3 5 NH if the user enters 3, the program shows three rolls with a random number between 1 and 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
