Question: Dictionary code _ email _ pairs contains three key - value pairs, each representing an authentication code sent to an email address. Read an authentication
Dictionary codeemailpairs contains three keyvalue pairs, each representing an authentication code sent to an email address. Read an authentication code from input. Then, output the corresponding email address from codeemailpairs. Finally, delete that pair from codeemailpairs.
Click here for example
Ex: If the input is then the output is:
Tia@peaches.org
Remaining pairs:
: 'Kim@cucumbers.org', : 'Pat@wings.com'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
