This CS assignment is just deciphering numbers associated with characters and printing it out. You are given an input such as:
22-9-22-1-14 12-15-19 16-1-20-15-19 4-5 12-1 16-9-19-3-9-14-1
and you have to convert it for example to the sentence:
VIVAN LOS PATOS DE LA PISCINA
Basically I was able to figure out that by adding 96 to the number Im able to get the unicode which I can the do chr() on to find its corresponding letter. The problem im facing is that in the users input I have to split the whitespace delimiters and the "-" delimiter but this makes it so the spaces arent present and it just prints one big word:
VIVANLOSPATOSDELAPISCINA
Ive tried to figure out how to maintain the spaces but cant seem to find a solution.