Please enable JavaScript to use CodeHS

CodeHS Glossary


Newline character Python

A special character that represents the end of a line within a text file. In Python, the newline character is represented as \n and is included at the end of each line when using the readline() method.