Snippet
def get_starting_point(word: str) -> int:
return int(len(word) / 3)
def shift_position(index: int) -> int:
return index - 1
def extract_character(word: str, index: int) -> str:
return word[index]
def main(word: str) -> None:
print("The hidden character is: " + extract_character(word=word, index=shift_position(index=get_starting_point(word=word))))
main(word="mystery")
Solution
Video
(Video Coming Soon)
Image Description
(Coming Soon)