A Puzzle The following puzzle is known as The Big Cross-Out Swindle.Beginning with the word 'NAISNIENLGELTETWEORRSD,' cross
Question:
A Puzzle The following puzzle is known as The Big Cross-Out Swindle."Beginning with the word 'NAISNIENLGELTETWEORRSD,' cross out nine letters in such a way that the remaining letters spell a single word". Create a program that creates variables named startingWord, crossedOutLetters, and remainingLetters. The program should assign to startingWord the string given in the puzzle, assign to crossedOutLetters a list containing every other letter of startingWord beginning with the initial letter N, and assign to remaining letters a list containing every other letter of startingWord beginning with the second letter, A. The program should then display the values of the three variables.
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young