Ask a question to get started
Enter to send•Shift+Enter new line
count_lines( text: str, ) -> int
text
str
The text to count newlines in.
Return the number of newline characters in text.