I'd prefer not to change the current code I've already written despite it probably being really inefficient or whatever.
import string
import random
prompt=raw_input("Name")
print "Code:",prompt
a=string.ascii_letters+string.digits+string.digits
trip='!%s%s%s%s%s%s%s%s%s%s' % (random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a),random.choice(a))
print trip
What I want to do is make a tripcode generator so that this program I've written produces a code in the output that is always consistent with the input. So every time someone type a word in the prompt, they will always get the same randomly generated code.
So if someone typed "python" in the input, the output would always be !gT3rF39hjj or some randomly generated tripcode.
Sorry if I'm being unclear.