+ 2

How to stop python from closing instantly

I built a calculator on python and the moment I press 'enter' it shows the answer and closes instantly. please help me

27th Jun 2019, 2:06 PM
Chanupa
Chanupa - avatar
1 ответ
+ 1
pause = input() Put everything into a while True If you want something more advanced import os, and use the function to input a pause command in a console
27th Jun 2019, 2:35 PM
alvaro.pkg.tar.zst
alvaro.pkg.tar.zst - avatar