How to check python version?

How can we check the installed python version? Sometimes, this question is asked in interviews.