import re
s = """BlueBellie - Perplexia #2
Mutti - Yumi #3
Foreverfox - Disturbia #4
Megaroni - Twinbrook #7
Millysaurusrexjr - Silverkeep #8
Dracule - Vespertine #9
StarlitGlitch - RedBrook #10
The Pennifer - Petronio #11
moo_nieu - Ayakashi #13
Firesquids - Bjørnøya #14
Oak - Jasper #15
Xara - Citrouille #16
Merielle - Reverie #17
Pecora - Manderley #18
Roxxy - Cindersap #19
Aquilla - Vermillion #20
NebulaNights - Oakshire #21
princesskyndal - Hyacinth #23
Satine - Ravenwood #24
Tessa - Anel Fortuna #25
b100ming - Iridescence #26
th8827 - Pokke #27
Totoroki - Ballonlea #28
UnendinhHope - Philadelphia #29
Mimi Cheems - Macchiato #30
Fey - Riptide #31
Darkesque_ - Stadt (Stadtberg) #34
SpaceTokki77 - Crimson #35
Corlee1289 - Pixelton #36
Meadows - Santonio #37
Kattea - San Junipero #38
Dunquixote - Wisteria #39
Skarmoury - Hayes #40
Deana - Strelitzia #42
Jadetine - Dos. Dos Island. #43
Towki - Stormalong #44
Ryuk - Kewpie #48
MorphiGalaxi - Elysium #49
Lady Destani - Danny Street #50
Shadow Star- Abditory #52
MinishMae - The Shire #53"""
e = re.split('; |, |\#|\n', s.replace('-', ";"))
e = [x.rstrip() for x in e]
c,d,b,a = 0,[],0,[]
for x in e:
if c == 0:
a.append(x)
c +=1
elif c == 1:
d.append(x)
c += 1
else:
c = 0
for x in d:
if len(x) > 10:
i = d.index(x)
print("{} - {} town name is too long.\n".format(a[i], d[i]))