Keep iterating till first digit hour becomes equal to second digit of minute and second digit of hour becomes equal to first digit of minute
while ( hh % 10 != mm // 10 or hh // 10 != mm % 10 ) : NEW_LINE INDENT mm += 1 NEW_LINE DEDENT