Random Lists

Write a function called randlist() that will create and return a list of 10 random integers from 1-100.

Then, in main(), call it a few times to test it.

Examples:

Bonus

For +10 bonus points, make the length of the list random, too. The length should be randomly chosen between 10-20.




©2017 Graham Mitchell