Order the answer to: There is a popular puzzle…
Question | Python Combination Lock Puzzle Plate: that you may only use Python to complete this assignment. No other tools or non-standard (i.e. third-party external) Python libraries may be used to complete your work. Furthermore,. always, you are to complete this assignment in its entirety on your awn, you do not have a partner in this course. There is a popular puzzle where you ‘,to guess the combination to a lock given some clues. For our purposes, the lock has exactly three wheels, each with values 0 through 3. CAN YOU OPEN THE Loci, 1JstN6 THESE cLues? 180 Vol must provide the clues on the command line and they must be in the form XVZ—R—W where: XYZ = a possible combination of 3 digits, each digit a member of the set E ZI 0 5×5 9) A= number of wheels that show the correct digit in the correct place within the sequence, each digit a member of the set (1,2,3) W = number of wheels that show the correct digit but in the wrong place within the sequence, each digit a member of the set C1,2,3) The expectation is that you will use a brute force form of technique to solve this puzzle. Iterate through all 1,000 possible combinations and observe onion one(s) correctly meet all specified clues. Do nottry to solve this puzzle the way a human would, using logic. |
---|---|
Subject | python programming |
Have a writer answer this question by clicking below. If you have any questions you can contact us via live chat.