3 ответов
+ 1
Lol nah thats not how. You'll have to use one of Pythons Graphical User Interface (GUI *pronounced "gooey") libraries.
Tkinter is one that comes with Pythons standard library.
Pyqt5 is another one that is more advanced!
Look up either and start reading the docs to start learning about one. Then, its just coding and mapping buttons and displays to interact with the code instead of printing everything to stdout
+ 2
First you need to save your code as a file
Then you can search for a program to convert python file to
App and fits your system
0
Please follow me and see the
Full calculator code in my page