• Help modify code to pass Extra 6/6

Question related to mission English to Braille Translator


I appreciate my code so far is not pretty. It does pass all tests up to and including "Double Space" then fails on Extra 6/6.

I cannot work out what I need to do. I thing the variable I call "page" is correct for the input text but I am stuck on modifying my code from there on so that it converts all of this to a list of tuples. Could someone help ?

Code in attached file.