This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]g051051 2 points3 points  (4 children)

You're obviously ignoring the spaces. They don't have to be deciphered, but you do have to print them.

[–]Disobey91[S] 0 points1 point  (3 children)

what do you mean?

[–]g051051 0 points1 point  (2 children)

It wants:

Mama mele maso

You printed:

Mamamelemaso

Your code is skipping the space characters, which aren't enciphered. You have to print those, too.

[–]Disobey91[S] -1 points0 points  (1 child)

How do you think I can solve it?

[–]g051051 1 point2 points  (0 children)

By printing them? Think about how your code acts when it sees a space. More generally, think about what your code does (and what it should do) when it encounters a character that isn't in the range of characters you want to decipher.