I have a list and I want to compare user input with that list , but character by character. for example user can only input some character and leave the rest by dots. (for example : V...r..n ) How do I can compare strings character by character, and if it only includes all characters by user input (skip the dots)
list1 = ["Vaporeon", "Jolteon", "Flareon", "Espeon", "Umbreon", "Leafeon", "Glaceon", "Sylveon"]
s = input() # for example "V...r..n"
for i in list1:
# if s include exactly characters in i (skip the dots)
print(i)