A text editor based in ctk, it has the function to execute python scripts excluding CLIs, or any input based python script. Feel free to compile it to an exe or smth.
Note, you will need tkinter, so make sure you sudo apt install python3-tkinter (Been a while since I used Debian, forgive me), it should be the same for Fedora, so sudo dnf install python3-tkinter, ...
There are ways to use the Python programming language on a typical Android device, iPhone, or iPad, but with fewer features ...