def main():--while True:----a=raw_input('Please input a word:(empty for exit)\n')----if len(a)!=0:------rep = False------b=[]------for i in range(len(a)-1):--------if a==a[i+1]:----------rep=True----------if not a in b: b.append(a)----------if rep:------------if len(b)>1:--------------print 'Ther...