Bulls & cows

Guess the secret code (digits 0–9, repeats allowed). Choose 4 or 6 digits before each new code. Bulls = right digit in the right place. Cows = right digit, wrong place.