python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Making a little angular resolution calculator in JS but it returns NaN
So, I'm in an astronomy class, and don't have a scientific calculator yet, so as a side project practice sometimes I'll translate a math question that would otherwise be tedious into a JS program so i...
AstralV
Votes: 0
Answers: 0
Input Loop - Dictionary Lookup and Recursion Calculator in Python
brand new at Python, and been experimenting with various calculator code methods in Python.
I found the following code:
from operator import pow, truediv, mul, add, sub
operators = {
'+': add,
...
Alex
Votes: 0
Answers: 2
How to add clear option to my command line calculator
I am making a CLI calculator and I am trying to add a clear button but cannot figure out how to clear all the user input and start the display from the beginning. I tried using the reset method and th...
JasonSizemore24
Votes: 0
Answers: 1
How to connect a variable to variable from a 'for' loop?
I really don't know to how to connect the variable to the variable from a 'for' loop. This code of mine should calculate the accumulated time then calculate it again to have the average wage. The calc...
Jeon Lei
Votes: 0
Answers: 0