Question: How to make a function that def decode_phrase(phrase, key): input the phrase B1O12B18B11O12B12 and the Key BOB and decodes into CATMAN Assume only upper case

How to make a function that
def decode_phrase(phrase, key):
input the phrase "B1O12B18B11O12B12" and the Key "BOB" and decodes into "CATMAN"
Assume only upper case letters will be entered
CATMAN becomes B1012B18B11012B12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
