Python:
Work with one other class member (if you can--if you can't coordinate, you can have a group of 1)
Create several python lists of a variety of lengths, but they should be >10 elements and probably less than 100
Here's some code to create a list of random numbers and random size:
import randommylist=random.sample(range(100),random.randrange(10, 101, 1)) # unique values# mylist=random.choices(range(100),k=random.randrange(10, 101, 1)) # contains duplicates
For testing you may want to generate lists with a smaller range of numbers (100 elements between 1 and 10).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here