+ 1

Python

How can I use python to design a calculator. Because I have been trying so many ways but it's not working. Thanks for your support.

5th Apr 2025, 11:47 AM
Adewumi Salvation Ayomide (ASA)
Adewumi Salvation Ayomide (ASA) - avatar
3 ответов
+ 5
Adewumi Salvation Ayomide (ASA) , (do you already have some experience in coding with python? if not, i recommend you to start learning from the ``introduction to python`` tutorial). > to provide you truly helpful support, we need to see your current code. please share it here. > this enables us to see where the issue is. then we can give you a step by step description of how to fix the unsolved problems. from my experience i would recommend to start with a very basic code (let's say input, data type conversion, using addition operator and output) that just demonstrates how it could work. then you can add the other operations. > keep the code free of too much complexity for now. data validation and other tasks can always be added later.
5th Apr 2025, 6:35 PM
Lothar
Lothar - avatar
+ 4
Adewumi Salvation Ayomide (ASA) here is a brython / python calculator https://sololearn.com/compiler-playground/W4wzSY8DIWdh/?ref=app
6th Apr 2025, 2:16 AM
BroFar
BroFar - avatar
+ 3
5th Apr 2025, 4:35 PM
Unknown Decoder (Ayush Kumar Singh)
Unknown Decoder (Ayush Kumar Singh) - avatar