User Profile
Collapse
-
EXCELLENT, thanks!... -
Well, interestingly, I exited Winpython, restarted it and it works for me too now. I fixed one problem in preceeding code at the same time. My C background had intruded and I had
Does anyone know what that causes? I got no errors but perhaps it messed something up in the intepreter and it couldn't recover?Code:deck = [];
Thanks!...Leave a comment:
-
Creating a Null list, seems to create a null tuple instead
Please don't critique my algorithm as I'm a rank newbie (or go ahead, I can take it :) ). But I can't figure the following out.
...Code:def shuffle(): """ Return a list of indices from 0-51 with no repeats.""" index = range (0,52) shuffled_list = list() # or shuffled_list = [] does the same while index: card = random.choice(index)
No activity results to display
Show More
Leave a comment: