Pergunta de entrevista da empresa Intel Corporation

Technical python question: You get cards as an input and you need to suffle the cards using only Rand[a,b] function (returns a random natural number in the range a to b).