Skip to main content
Engineering LibreTexts

2.12: Text Wrapping in This Book

  • Page ID
    14404
  • Some lines of code are too long to fit on one line on the pages in this book, and the text of the code will wrap around to the next line. When you type these lines into the file editor, enter the code all on one line without pressing Enter.

    You can tell when a new line starts by looking at the line numbers on the left side of the code. For example, the code below has only two lines of code, even though the first line wraps around:

    1. print('This is the first line! xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxx’)
    2. print('This is the second line, not the third line.')