stupid me
That bit of code I so pompously showed off the other day is pretty brain dead. Here’s a better version:
import random #duh! def shuffleString(word): random.seed() a = list(word) random.shuffle(a) return "".join(a)
Much faster than constructing a lambda function. Now what are the bets that this is brain dead too?