Sort:  

Thx, I never tried program Python in GUI.

The code is written using Jupyter notebook. It is not a "GUI" in the conventional sense. It is an interactive shell.