How does a Mac terminal exit the python command line

> > > Use Quit (), exit(), or Ctrl-D to exit the command line.

Read More: