The program generates a fantasy firstname and lastname.
It runs in Python 3+.
It conforming to the following rules:
Consider position x in string.
-
If x-1 does not exist, set x to either consonant or vowel
-
If x-1 does exist:
a) If x-1 is consonant:
- If x-2 does not exist, set x to vowel
- If x-2 does exist:
a) If x-2 is consonant, set x to vowel
b) If x-2 is vowel, set to either
b) If x-1 is vowel:
- If x-2 does not exist, set x to consonant
- If x-2 does exist:
a) If x-2 is consonant, set to either
b) If x-2 is vowel, set to consonant