On the python terminal, you need to press both ctrl+c. But, you need to click the terminal before pressing these two keys.
ctrl+c