
def mystery_func(txt):
    txt = txt.title()
    print(list(
        (int(i))
             for i in txt)
        )


mystery_func("hello")

# TestsConsoleTest.assert_equals(mystery_func("hello"), [4, 1, 3, 3, 1])

# Test.assert_equals(mystery_func("maybe"), [4, 2, 1, 3, 1])

# Test.assert_equals(mystery_func("hopeless"), [0, 7, 0, 5, 4, 5, 3, 3])

# Test.assert_equals(mystery_func("higher"), [2, 3, 1, 2, 5, 0])

# Test.assert_equals(mystery_func("movement"), [5, 7, 6, 5, 5, 5, 6, 4])