Dinosour Assignment

I don’t understand the nature of X: In supporting functions it seems to be a list of integer but then it is referred also as a list of characters. When coding the model I get this:
j = 0 idx = 0
single_example = turiasaurus
single_example_chars [‘t’, ‘u’, ‘r’, ‘i’, ‘a’, ‘s’, ‘a’, ‘u’, ‘r’, ‘u’, ‘s’]
single_example_ix [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
X = [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
Y = [21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0]

The code runs, but then I have an assertion error. I know I need to include the None but the X is supposed to be character or integers??
Thanks for help

The following also gives an assertion error (though the code runs):
j = 0 idx = 0
single_example = turiasaurus
single_example_chars [‘t’, ‘u’, ‘r’, ‘i’, ‘a’, ‘s’, ‘a’, ‘u’, ‘r’, ‘u’, ‘s’]
single_example_ix [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
X = [None, 20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
Y = [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0]

Never mind, my error was in other place.

Thanks

Glad to hear that you found the answer under your own power! Thanks for confirming.