Inverse the Inversed

There are 26 letters, A to Z. The inverse code, replaces A as Z, B as Y, C as X .... and Z as A.

Use the inverse code to translate the message in the image.

I am a Brilliant fan Fan Brilli the ant Ant is fanning Brilli Brilli the ant fan

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Discussions for this problem are now closed

Brock Brown
Feb 9, 2015

Well, since I guess I'm not smart enough to notice the number of letters in the words of the code match the number of letters in the words of the answer here's a Python solution.

Python:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
alphabet = 'abcdefghijklmnopqrstuvwxyz'
replace = {' ':' '}
for i in xrange(len(alphabet)):
    key = alphabet[i]
    new = alphabet[25-i]
    replace[key] = new
answer = ''
code = 'r zn z yiroorzmg uzm'
for letter in code:
    answer = answer + replace[letter]
print answer

zmw gl zmblmv vohv dsl ylgsvivw gl hloev gsrh blf ziv hfkvirli gl veviblmv vohv

If I am not wrong , you are the smartest man I've met here on Brilliant. You seem to have a Computer Code for all sorts of problem ,I really look up to you .

I am waiting for when you will write a computer code which will prove Fermat's Last Theorem !!!! ¨ \ddot\smile

A Former Brilliant Member - 6 years, 4 months ago

Coding is easy. It's math like you and Jake Lai do that's difficult. As a computer scientist, I'm stuck with examining only the discrete and mathematicians like you are free to explore the infinite . For example, I could write a program to prove the validity for Fermat's Last Theorem for, say, n < 1,000,000, and a mathematician could prove it for all n. Computer science is a way of thinking that I enjoy, but I am limited by the resources of my machine, where you are not limited.

Brock Brown - 6 years, 4 months ago

I am inclined to agree partially with you that CS is limited as I myself being a programmer (rookie one though,I know Java(NetBeans IDE),C++) but simulations are what make Computer Code rocking . You can save loads of time by writing code . Also remember : A computer is never WRONG \text{A computer is never WRONG} .

Let me change the topic just a bit . Can you suggest some source from where I can learn P y t h o n \it{Python} from the Internet(if possible) ?

Thanks for the same !!

A Former Brilliant Member - 6 years, 4 months ago

@A Former Brilliant Member Here are some of my favorite resources:

Learn Python the Hard Way: http://learnpythonthehardway.org/book/

MIT's Introduction to Python: https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-0#.VNtP4np6jqA

MIT's Introduction to Algorithms: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/

Also, here's an awesome tip that nobody taught me early on: the built-in function dir is your best friend. You can use it on any module, variable, or value to print a dir ectory of the different things you can do with it. For example, if you want to find out everything that you can do with a string, just do the following:

1
2
a = 'string'
print dir(a)

The Python documentation is also very thorough: https://docs.python.org/2.7/

If you have any questions, don't hesisitate to ask:

brockrbrown@gmail.com

Brock Brown - 6 years, 4 months ago

Moderator note:

This is basically an antisolution. You should show that the whole phrase is "I am a Brilliant fan".

Yup, that is why the cipher is completely insecure!

Agnishom Chattopadhyay - 6 years, 4 months ago

cipher would be more secure by removing all spacing as well as all caps

Brett Hartley - 6 years, 3 months ago

Yᑌᑭ I ᔕOᒪᐯEᗪ IT Iᑎ OᑎE ᔕEᑕOᑎᗪ

Lee Care Gene - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...