#Starting Out With Python, 4th Edition
#Chapter 7
#Exercise 6
#in a program, write a function named roll that
#accepts an integer argument number_of_throws. The
#function should generate and return a sorted
#list of number_of_throws random numbers between
#1 and 6. The program should prompt the user to
#enter a positive integer that is sent to the function,
#and then print the returned list.
How would you do this?
Expert Answer
Answer to #Starting Out With Python, 4th Edition #Chapter 7 #Exercise 6 #in a program, write a function named roll that #accepts a…