Deck of Cards | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Deck of Cards

I am trying to make a program that draws cards, The problem I am having is how I can have a list that is accessible to a method that picks a random number from 1-52 then deletes itself from the list but hold that memory for when the next card needs to drawn.

14th Jul 2020, 4:46 AM
Vincent Petrocelli
Vincent Petrocelli - avatar
3 Answers
14th Jul 2020, 6:54 AM
ChaoticDawg
ChaoticDawg - avatar
+ 6
https://code.sololearn.com/c4i5LBFcG4YD/?ref=app
14th Jul 2020, 4:55 AM
BroFar
BroFar - avatar
0
i posted it my codes
14th Jul 2020, 4:53 AM
Vincent Petrocelli
Vincent Petrocelli - avatar