In this challenge you will correct code. You willonly be correcting one line. Try to keep the code inthe format with the spacing of the original. Only include oneline of code in your solutions.
ct Question 2 The lock will unlock if its value is 24. However if user has an eye patch or a peg leg it will not open when it is 24. Instead it will print out the message "You have an eye patch, come back later" or "You have a peg leg, come back later". 1 if (eye_patch True): 2 print("You have an eye patch, come back later") (peg_leg True): print("You have a peg leg, come back later") 24): print("You have unlocked the lock") 3 if 14 5 elif (value 6 0/1 pts == ==
In this challenge you will correct code. You will only be correcting one line. Try to keep the code in the format wi
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am