Welcome to our new series of padlock code breaking challenges.
For each of these challenges you will need to write a computer program to work out the padlock code (3-digit number). Your program will need to output the solution of the given hint. You will then be able to input this combination onto the padlock to see if it unlocks it!
code = Total number of 3-digit combinations where digit1, digit2 and digit3 are all even numbers
e.g. 024 and 886 count as valid combinations whereas 124 or 456 are invalid combinations.
Use the trinket below to write a program to solve the above hint.
Input the combination on the padlock below and click on “Unlock?” to test your combination.