Hi, I am trying to get Python to pick random letters from a given list.
However I don't want any repetitions, I just can't seem to figure out how to skip
on letters already chose.
Any help would be greatly appreciated.
Here is what I have so far
let = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g' ]
import random
for i in range(3):
pos = random.randint(0,6)
letter = let[pos]
print letter,