Caesar Shift Cipher

Back to General discussions forum

AkaruDaisuki     2020-01-14 06:35:48
User avatar

Hi guys Im tottaly confused about the answer

When I completed a task,Caesar Shift Cipher, my answer was matching but the responds its "Wrong" Is there any debug on this task or I'm being wrong??

This was the answer i uploaded AS EASY AS LYING A NIGHT AT THE OPERA ARE WONDERS MANY TOLD. CALLED IT THE RISING SUN FOUR SCORE AND SEVEN YEARS AGO LET HIM THROW THE FIRST STONE. THE ONCE AND FUTURE KING THE SECRET OF HEATHER ALE. LOVEST THOU ME PETER IN ANCIENT PERSIA THERE WAS A KING. THAT ALL MEN ARE CREATED EQUAL. TO US IN OLDEN STORIES AND SO YOU TOO BRUTUS.

And this one is the web's correct one AS EASY AS LYING A NIGHT AT THE OPERA ARE WONDERS MANY TOLD. CALLED IT THE RISING SUN FOUR SCORE AND SEVEN YEARS AGO LET HIM THROW THE FIRST STONE. THE ONCE AND FUTURE KING THE SECRET OF HEATHER ALE. LOVEST THOU ME PETER IN ANCIENT PERSIA THERE WAS A KING. THAT ALL MEN ARE CREATED EQUAL. TO US IN OLDEN STORIES AND SO YOU TOO BRUTUS.

Help me

AkaruDaisuki     2020-01-14 06:36:52
User avatar

Hi guys Im tottaly confused about the answer

When I completed a task,Caesar Shift Cipher, my answer was matching but the responds its "Wrong" Is there any debug on this task or I'm being wrong??

This was the answer i uploaded AS EASY AS LYING A NIGHT AT THE OPERA ARE WONDERS MANY TOLD. CALLED IT THE RISING SUN FOUR SCORE AND SEVEN YEARS AGO LET HIM THROW THE FIRST STONE. THE ONCE AND FUTURE KING THE SECRET OF HEATHER ALE. LOVEST THOU ME PETER IN ANCIENT PERSIA THERE WAS A KING. THAT ALL MEN ARE CREATED EQUAL. TO US IN OLDEN STORIES AND SO YOU TOO BRUTUS.

And this one is the web's correct one AS EASY AS LYING A NIGHT AT THE OPERA ARE WONDERS MANY TOLD. CALLED IT THE RISING SUN FOUR SCORE AND SEVEN YEARS AGO LET HIM THROW THE FIRST STONE. THE ONCE AND FUTURE KING THE SECRET OF HEATHER ALE. LOVEST THOU ME PETER IN ANCIENT PERSIA THERE WAS A KING. THAT ALL MEN ARE CREATED EQUAL. TO US IN OLDEN STORIES AND SO YOU TOO BRUTUS.

Help me

Rodion (admin)     2020-01-14 07:06:44
User avatar

Hi Friend!

my answer was matching

Your answer is not matching :)

What are these rectangle symbols after dots? Why do you add them to your answer?

AkaruDaisuki     2020-01-14 12:41:59
User avatar

Hi ! Thanks for replying Please somehow tell whats those rectangle symbols , I dont see them

Rodion (admin)     2020-01-14 12:46:27
User avatar

Well, I don't see them either on my different computer. Instead they are represented as some space of different size. So in your answer you have two different spaces after the dot.

Check your code at the last print line:

print(". ",end="")

You have some strange additional space here. Remove them both and type in normal space. I suspect it should work then.

I've checked - the first space after dot is normal, with code 32, but the second is not space really, it seems to have code 127. It is sometimes used as "delete" symbol in some encodings, you probably added it by accident.

AkaruDaisuki     2020-01-14 12:52:18
User avatar

Oh Thanks I actually removed dot from the strings when inputting them. Then added ". ", after converting the strings. So I 'l try different method :3

Please login and solve 5 problems to be able to post at forum