I am trying to understand word wrapping by following the guide here: https://learn.adafruit.com/making-a-pyportal-user-interface-displayio/overview
In the project code (https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/81345f559067451fc60c7a8e55e16d40d0663bdb/PyPortal_User_Interface/code.py#L116-L118) , the for loop builds two strings. I cannot figure out why one string (new_text) is concatted new line first while the second string (test) is concatted new line last? Why are the leading/trailing new line characters not stripped before doing size calculations?