Checking for Cows and Bulls

The next thing to do is to be able to check how many numbers the player has guessed correctly. 

A Bull is when the number guessed is in the correct place and is the correct number. 

A Cow is when the number guessed is correct but is in the wrong place. 

For loops - you can find more about using counter controlled loops here   and   here 

Lists - more about them here.  and here 

Code for the checking of cows and bulls - use if you are really stuck