Beta

The Chakitra's language

Description:

Description and example:

A long time ago, in a galaxy not so far away (It's actually the same galaxy), there was a tribe named the Chakitra's that wrote exactly like we're used to nowadays. At least, that was what scientists believed for many, many years.

Dr. Ruby von Stiemelberg der siebenundsiebzig found out their language was not what everyone thought it was. He discovered the ancient texts the Chakitra's wrote ONLY contained words where the highest letter had an even index in the alphabet. "WUNDERBAR!", he yelled when he found out.

Lucky for us, Dr. Ruby von Stiemelberg der siebenundsiebzig was kind enough to give us some examples:

"The stone fell in the box" is a sentence he found written on a wall.

The: 'T' is the highest letter ; index of 'T' = 20 ; 20 is an even number
stone: 'T' is the highest letter ; index of 'T' = 20 ; 20 is an even number
fell: 'L' is the highest letter ; index of 'L' = 12 ; 12 is an even number
in: 'N' is the highest letter ; index of 'N' = 14 ; 14 is an even number
the: 'T' is the highest letter ; index of 'T' = 20 ; 20 is an even number
box: 'X' is the highest letter ; index of 'X' = 24 ; 24 is an even number

Sadly, some vandals recently ruined the ancient walls by writing their own texts on it. "Wie können sie!" yelled Dr. Ruby von Stiemelberg der siebenundsiebzig when he found out. It was his duty to find out the real texts.

Your job is to write a function for Dr. Ruby von stiemelberg der siebenundsiebzig, so he doesn't have to do it all manually. Goodluck noble scientist! Or, as Dr. Ruby von stiemelberg der siebenundsiebzig would say: "Viel Glück edler Wissenschaftler!"

What to return:

You should return True if the sentence is written by the Chakitra's and False if it's written by vandals.

Good to know:

  • My goal is not to trick you. The Chakitra's and the vandals didn't use punctuation, so you don't have to escape those. (You can, if you want.)
  • A = index 1 and Z = index 26
  • The Chakitra's and the vandals ALWAYS use a blank space (" ") between words.
  • The example test cases contain existing words, the other test cases won't.
  • You have to return booleans, not strings like "True" or "False"
  • Dr. Ruby von stiemelberg der siebenundsiebzig will be proud, no matter what happens
Puzzles

Stats:

CreatedMar 9, 2020
PublishedApr 15, 2021
Warriors Trained83
Total Skips2
Total Code Submissions154
Total Times Completed55
Python Completions55
Total Stars1
% of votes with a positive feedback rating84% of 40
Total "Very Satisfied" Votes29
Total "Somewhat Satisfied" Votes9
Total "Not Satisfied" Votes2
Total Rank Assessments38
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • larsverp Avatar
Ad