''' Purpose: separately prompt for a string s and a list of integers numbers. The program displays the string formed by using numbers as indices into s. ''' # get the code phrase that contains hidden message reply = input( "Enter code phrase: " ) print() # clean up reply to get code phrase with no leading or trailing whitespace code_phrase = ... # print the code phrase print( "Code phrase=", code_phrase ) print() # get the list of indices (as string) for peeking into code phrase reply = input( "Enter indices for looking into code phrase: " ) print() # convert reply into a list of numeric strings numeric_strings = ... # build one-by-one the list of indices out of the numeric strings indices = ... #for ... # print the list of indices print( "Indices:", indices ) print() # build secret message (string) by peeking into code phrase using the # indices one-by-one message = ... #for ... # print secret message print( "Secret message:", message )