Question Answered step-by-step This is me code so far, I can’t pass one more hidden input which is… Image transcription textEl Problem Assessment The second look consists of a”T”-shaped groove in the door. The left branchof the T is labelled source, the right branch i… Show more… Show moreImage transcription textsource branch). Your function should return a tupleconsisting of a boolean value specifying whether thedoor can be unlocked or not, and an integ… Show more… Show moreImage transcription textProblem Assessment (True, 2) Explanation: In the firstexample, the initial configuration of the gems on thesource branch is correctly ordered, so they… Show more… Show moreImage transcription text? T Instructions Tutoring Problem Assessment(source) (destination) -3-4-5-2-1-+- – – – – – – – . .(store) Step 1: Gems 1 and 2 can slide di… Show more… Show moreImage transcription text——- 2-1-| -U1-b+ Step 3: Gem 3 can then slidedirectly into the destination: Step 4: Gems 4 and 5can now slide out of the store and into … Show more… Show moreImage transcription textprogram.py > + a 1 . def second_lock(gems) : 2 store = 3 j = 1 4 once = False5 store_value = 0 6 7 for i … Show more… Show moreImage transcription textreturn False, -1 else: store_value += 1once = True j += 1 return True,store_value print (second_… Show more… Show moreImage transcription text19 20 print(second_lock([4, 3, 2, 11)) 21print(second_lock([1, 2, 3, 4, 51)) 22print(second_lock([6, 1, 4,… Show more… Show more This is me code so far, I can’t pass one more hidden input which is written in the picture. You may re-write me whole code or choose to add and fix me current code. Thank you very much for the help! Let me know if you need more explanation on what the assignment is asking for…. Computer Science Engineering & Technology Python Programming COMP 10001 Share QuestionEmailCopy link Comments (0)