58 of 100 menu

Python Taskbook Level 6.8

Make a function that takes a list as a parameter and returns a random element of that list.

Make a function that takes a list as a parameter and returns a list of N random elements of that list.

Make a function that takes a list as a parameter and returns a random element of that list so that the same elements are not returned twice in a row.

Create a function that will return a list of prime numbers from a given range.

Make a function that will take any number of numbers as parameters and return their sum.

Create a function that will fill a list of N random numbers from a given range so that there are no two identical numbers in a row in the list.

Create a function that will fill a list of N random numbers from a given range so that the numbers do not repeat.

enru