def randomNoRepeat(func, n=<NUM_LIT:100>):
seen = set()<EOL>for _ in range(n):<EOL><INDENT>g = str(func())<EOL>if g in seen:<EOL><INDENT>raise Exception("<STR_LIT>".format(g))<EOL><DEDENT>seen.add(g)<EOL><DEDENT>
Grab @n elements using @func and ensure there are no duplicates 
according to their string representations.