About 14,500,000 results
Open links in new tab
  1. How to make a calculator in Python 3 - Stack Overflow

    Apr 26, 2021 · I need to create a calculator in Python that can perform all of these tasks. I have gotten this far with my code to do addition, subtraction, multiplication, and division. Can …

  2. using try/except & while loop for calculator in python

    May 1, 2023 · I am trying to create a calculator and use defensive programming to avoid unexpected events and user inputs. I included a try / except block for user input & for zero …

  3. Calculate CRC32 correctly with Python - Stack Overflow

    Note that Python 3 guarantees that binascii.crc32 returns an unsigned value, and 2.6 and 2.7 should be guaranteeing a signed value, so platform differences shouldn't be affecting this.

  4. Calculator Loop in Python - Stack Overflow

    Apr 20, 2016 · Need to add a loop to my calculator by giving the user an option to restart the calculator by putting the code in a while loop with the condition that the input from user should …

  5. Save and display calculation history of the python calculator

    May 24, 2022 · I need to extend the given calculator program to record the calculations, and recall them as a list using an additional command '?'. Things to do: Declare a list to store the …

  6. python - Calculator: division by zero error, how do I fix that?

    Dec 21, 2021 · Calculator: division by zero error, how do I fix that? Asked 3 years, 11 months ago Modified 3 years, 11 months ago Viewed 1k times

  7. I want to make calculator using switch case statement in python

    Jul 22, 2019 · I am able to make calculator using the If and elsif statement but I am unable to make it with the switch case statement. I create basic for switch case but I stacked in how to …

  8. python - How to calculate number of days between two given …

    If I have two dates (ex. '8/18/2008' and '9/26/2008'), what is the best way to get the number of days between these two dates?

  9. algorithm - Python pi calculation? - Stack Overflow

    I am a python beginner and I want to calculate pi. I tried using the Chudnovsky algorithm because I heard that it is faster than other algorithms. This is my code: from math import factorial from

  10. python - Interactive calculator prints input instead of calculated ...

    Oct 15, 2017 · The calculator has many diverse features. Instead of just doing this num + operator + num2 it uses run method to catch what you want to do and then loads the correct method …