Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Python problem: I need to create a simple calculator for Python with some requirements. Can someone show me?

Requirement 1: needs to have add, subtract, mult, div and mod

Requirement 2: should query operators for two integers (5+2=7)

Requirement 3: if div or mod is entered and 0 is second dividend, print out an appropiate message.

1 Answer

Relevance
  • joe
    Lv 6
    5 years ago

    This is homework, do not expect us to do what you are to lazy to do!

    Best wishes

Still have questions? Get your answers by asking now.