The problem is to get a random list of numbers from a list
This is what i have so far.

import random

def numberShuffle(myList):
    sList = []
    nNumbers = len(myList)
    for i in numbers:
        j = random.randint(i)
    return (sList)

numbers is not defined, random.randint needs lower and upper limit

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.