how to break single line to multiple lines
<p>Create a test file with a single sentence of 20 words. Read the file, then insert carriage-return characters (\n) and write the test to a new text file that will be composed of four lines of five words.</p>

<p>This is what i have so far</p>

<pre><code>my_file = open("twentywords.txt", "r")
temp_file = open("newfile.text", "w")

i = 1
for words in my_file:
    if i%5 == 0:
        print(words, file = temp_file)
    i = i + 1
</code></pre>

<p>We have not learned complex tools yet so keep it simple Stew</p>
