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!
Padlock Hint
code = 1 + 2 + 3 + 4 + … + 38 + 39 + 40
Python Code
Use the trinket below to write a program to solve the above hint.
Padlock
Input the combination on the padlock below and click on “Unlock?” to test your combination.
Solution...
The solution for this challenge is available to full members!Find out how to become a member:
➤ Members' Area