All pastes #837421 Raw Edit

Anonymous

public text v1 · immutable
#837421 ·published 2007-12-29 17:38 UTC
rendered paste body
#!/usr/bin/env python

from random import randint, choice

vowels = 'aeiouy'
consonants = 'bcdfghjklmnpqrstvwxyz'

length = randint(3, 7)

name = choice(consonants)
for i in xrange(length):
	if name[i] == 'q':
		name += 'u'
		name += choice(vowels)
	elif name[i] in ['c', 't']:
		if randint(1, 5) == 2:
			name += 'h'
		else:
			name += choice(vowels)
	elif name[i] in consonants:
		name += choice(vowels)
	else:
		name += choice(consonants)

print name