shuffling a list in python, intended for making a random selection of students.
For shuffling a whole list:
randomShuffle <input_list> <output_list>
For shuffling a whole list, limiting the output, <number>
is an int value:
randomShuffle <input_list> <output_list> -l <number>
Copyright 2023 Joaquín Cuéllar <joaquin(dot)cuellar(at)uco(dot)es>
This file is part of listShuffle.
listShuffle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
listShuffle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with listShuffle. If not, see <https://www.gnu.org/licenses/>.