Hi I tried to make Tkinter calculator,and I am now trying to add a comma(decimal) button,but I don’t know how make it. def button_comma(): Button_comma = Button(root, text=".", padx=40, pady=20, command=button_comma) Button_comma.grid(row=7, column=0) Source: Python-3x..
I am making an algebra calculator, all the algebraic expressions would have a single number on the RHS and variable terms on the LHS For example : "+9a-15a/10=+900" "+11*x-13/x/15=-20" The only operations would be addition, subtraction, multiplication and division. So no exponents. Every term starts with a "+" or a "-" sign. The variable would ..
I actually don’t know how these buttons (MC, M+, M-, MU and MR) work and how to operate them without using lambada function I would like to ask for some help soo I can upgrade it to actually be 100% similar to the windows 10 Calculator Here is my code any help will me soo ..
Basicly I just made a Calculator Code (it should probably work) but is just shows the Ascii Art CALC but doesn’t actually run the Calculator Code, no error or anything, just doesn’t run a Part of Code for some Reason. -_- (The Ascii Art in the Code may look messy but actually its ok in ..
the code Hello, I’m in my first year at university and I’m starting pyhton. I plan to make a calculator from pyhton using tkinter. I already have the code for the GUI but my problem is at the delete function. When I use it, it renitializes the textvariable in the widget entry but when I ..
I am trying to create a GUI calculator in Python for a class assignment. But I’ve run into a problem; the code below is not printing the buttons in the GUI! To see what I’m talking about, please look at the code below the commented line: #CODE THAT IS NOT PRINTING THE BUTTON IS BELOW ..
The code needs to print out the breed of dog that has earned the shop the most money. I know i need to multiply together the quantity (item) and money (item) to find how much money each dog has earned the shop first but I don’t know how to get the system to print out ..
I want to create a bot with calculator in Telegram, but i don’t know how i can save the input from user message to save in a variable. My idea is the user send two numbers, and the bot sum both numbers and send in a message the result to the user. The API i ..
I already create a class that can run my calculator with tkinter, but I can only run for one instance. When run for two instances, one calculator works, the other one display everything, but can’t function. How can I create different calculator at the same time by using this class. here is my code, thank. ..
I need how to write eval() from scratch in order to make a fully working calculator and not a simple one. That takes a string as an input and gives the ending result. Source: Python..