20 lines
613 B
Python
20 lines
613 B
Python
import readline;
|
|
|
|
ethnicities = ['', '' '_1f3fb', '_1f3fc', '_1f3fd', '_1f3fe', '_1f3ff']
|
|
genderadd = ['', '_200d_2640', '_200d_2642']
|
|
gendermain = ['u1f9d1', 'u1f469', 'u1f468']
|
|
|
|
string = input('enter emoji: ');
|
|
|
|
if "GENDERMAIN" in string:
|
|
for gender in gendermain:
|
|
for ethnicity in ethnicities:
|
|
print(string.replace("GENDERMAIN", gender).replace("RACE", ethnicity))
|
|
elif "GENDERADD" in string:
|
|
for gender in genderadd:
|
|
for ethnicity in ethnicities:
|
|
print(string.replace("GENDERADD", gender).replace("RACE", ethnicity))
|
|
else:
|
|
for ethnicity in ethnicities:
|
|
print(string.replace("RACE", ethnicity))
|