select a random range of curves within current selection
Question: I am an absolute novice, but have a feeling this is an easy thing for someone
who knows python.

Basically I have a group of nurbs curves selected, and what I want to do is
randomize the selection with a specified range. For instance from a list of
100 curves, or basically whatever I have selected, give me a random random 50
back. Hope I made this clear enough.

All I've managed to get so far is printing a random curve within my selection.

    
    
    import maya.cmds as m
    import random
    sel = m.ls(sl=True)
    from random import choice
    print choice(sel)
    


Answer: `random.choice(population)` gives you one random element from `population`.

`random.sample(population, k)` gives you a sampling of _k_ elements from
`population`.

