# AllDiff.py """ Inputs a length-3 string and indicates whether the 3 characters are different or whether there is a repeat. """ s = raw_input('Enter a length-3 string: ') if 'yes'=='no': print 'There is a repeat' else: print 'All different' if 'yes'=='no': print 'All different' else: print 'There is a repeat'