Internet

Building a Calculator in Python with ChatGPT

Prerequisite: I am Using Visual Studio Code

Before processing, if you are new to using visual studio code to develop somethings then refer this link:

Type: Create a calculator app using python

We paste the code by creating a file with any name and execute the file:

Below is the application output which working fine

But I need a GUI application so I write to ChatGPT: “another good GUI code”

Now I execute by going to the file location where I save and run the file.

But the problem: The “=” Button is missing.

Now for Error correction again I reply “equak button is missing”

Additional Note from ChatGPT: Mentioned Related to security risk which is really good.

Now yes the Calculator is ready 🤟

Leave a Reply

Your email address will not be published. Required fields are marked *