ASCII uses only 7 bits so 127 is the highest ASCII code. There exist many different character encoding that are built on top of ASCII. They use more bits to extend the number of characters but often use the same code values for the characters in the range 0-127 as ASCII does.
On Linux the standard character encoding is UTF-8 (Unicode). It is backward compatible with ASCII so a file written in ASCII is also valid UTF-8. The eighth bit, which is unused in ASCII, is used in UTF-8 to signal that a character uses more than one byte. The more unusual characters can use up to 4 bytes. You can read more about UTF-8 here if you're interested: https://en.wikipedia.org/wiki/Utf-8#Description
I don't think your teacher is expecting you to output Unicode above 127 so if I were you I would either reduce the range to 0-127 and leave a comment stating that ASCII is only 7 bits or ask them to clarify. My suspicion is that they assume you use the command prompt on Windows which I think uses some kind of 8-bit character encoding. I think this is what's sometimes referred to as "extended ASCII" but I'm not sure.