Please enable JavaScript to use CodeHS

CodeHS Glossary


readline() Python

A method used to read a single line from a file. It returns the line as a string, including the newline character at the end.