Question: With import random, create 4 list of 20 elements total in range(1,100). The lists should include multiple of 2, multiple of 3, multiples of 6

With import random, create 4 list of 20 elements total in range(1,100).

The lists should include multiple of 2, multiple of 3, multiples of 6 and the remaining as a list as well.

There should not be more than 20 elements total including the remainders.

Sort the elements in an ascending order.

Python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!