x = raw_input(' dose password :') while len(x)== 6 or x.count('!') >= 2: print ' niose ligo psile mou' x = raw_input(' ksana dose: ') print x
x = raw_input(' dose password :') while len(x)== 6 or x.count('!') >= 2: print ' niose ligo psile mou' x = raw_input(' ksana dose: ') print x