All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
Consonant and Vowel Crossed Novel and Film (Posted on 2023-11-18) Difficulty: 3 of 5
Consider the word "near". If you shift the each of its consonants to the next consonant of the alphabet, and each of its vowels to the next vowel in the alphabet, you get the word "pies".

Determine the one-word title of a famous novel (also made into a film) that if you shift its consonants and vowels in the same manner gives you another one-word title of a famous novel that was also made into a film.

What novels and films are these?
*** Adapted from a problem appearing in NPR's Sunday Puzzle in 2007.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution with computer assist Comment 2 of 2 |
Coma  Dune

---------------------

cons = 'bcdfghjklmnpqrstvwxyz'
vows = 'aeiou'


for w in words:
    other = ''
    for c in w:
        if c in cons:
            d = cons[(cons.index(c) + 1)%21]
        elif c in vows:
            d = vows[(vows.index(c) + 1)%5]
        other += d
    if other in words:
        print(w,other))

  Posted by Larry on 2023-11-18 12:55:02
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information