Hey can someone explain to me how to fix this

why is this not working .

I put in
text_file = open(“olympic_games.txt”, “w”)
text_file.write (“test 1/n”)
text_file.write (“does this work/n”)

yet in the document in comes up with
test 1/ndoes this work/n
can someone help me use the new line feature

Try using \ instead of /.


thanks I didn’t know how that worked

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.