About 12,600,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. Calculate CRC32 correctly with Python - Stack Overflow

    It seems that python is returning an signed integer (hence the negative number), whereas the others are returning an unsigned integer. I have tried using a modulus with 2^32, and it gave …

  3. 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 …

  4. 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 …

  5. calculator - How do I infinitely loop this program in python?

    Apr 3, 2015 · Alright, I'm just starting to learn python, and have no idea where else to pose this question. I wrote this calculator and it works. a,b=input("Enter two numbers (sperated by a …

  6. 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?

  7. 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

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

    Dec 21, 2021 · in math you can't divide 0 by 0, so in calculator I want to do the same thing, show the message that it's impossible.

  9. python - Getting distance between two points based on latitude ...

    Oct 17, 2013 · I aimed to offer valuable information to this thread since it appears as the top result when someone searches for getting distance between two points using Python on Google.

  10. How do I measure elapsed time in Python? - Stack Overflow

    The python cProfile and pstats modules offer great support for measuring time elapsed in certain functions without having to add any code around the existing functions.