About installing python version 3.7

Hi,
I’m not able to download version 3.7 on my Mac when I go spotlight, type terminal them white screen pop & then I type python exit command +D, then type python 3, after that showing error & not able to see python interpreter screen, please help me out to fix this problem
Thanku