create a Python application that applies classes and objects in Python. Scenario:You are to create a python application that simulates the function of a basic calculator with some additional features. The user will select what function they would like to use in the application, after which they will input the values that they would like to use for the computation selected. The program will then compute for the output based on the given function and return the output to the user. The user should then be able to select additional functions and input new numbers until they are satisfied, after which they can exit the application. The application should first ask for a command from the user when started, the user can do 9 different commands on the application: The Calculator Features Add Two Numbers- Adds two numbers inputted from the user. Subtract Two Numbers- Subtracts two numbers inputted from the user. Multiply Two Numbers- Multiplies two numbers inputted from the user. Divide Two Numbers- Divides two numbers inputted from the user. Check if a Number is Odd- Checks if a number inputted from the user is an odd number. Check if a Number is Even- Checks if a number inputted from the user is an even number. Check if an Integer is Positive- Checks if a number inputted from the user is a positive integer. Check if an Integer is Negative- Checks if a number inputted from the user is a negative integer. Exit the Application - Exits/stops the application if selected. While the application is running, it should allow the user to do as many functions as they would like. The application will only end when the user ends it themselves.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
  • create a Python application that applies classes and objects in Python.
  • Scenario:You are to create a python application that simulates the function of a basic calculator with some additional features. The user will select what function they would like to use in the application, after which they will input the values that they would like to use for the computation selected. The program will then compute for the output based on the given function and return the output to the user. The user should then be able to select additional functions and input new numbers until they are satisfied, after which they can exit the application.
  • The application should first ask for a command from the user when started, the user can do 9 different commands on the application:
    • The Calculator Features
      • Add Two Numbers- Adds two numbers inputted from the user.
      • Subtract Two Numbers- Subtracts two numbers inputted from the user.
      • Multiply Two Numbers- Multiplies two numbers inputted from the user.
      • Divide Two Numbers- Divides two numbers inputted from the user.
      • Check if a Number is Odd- Checks if a number inputted from the user is an odd number.
      • Check if a Number is Even- Checks if a number inputted from the user is an even number.
      • Check if an Integer is Positive- Checks if a number inputted from the user is a positive integer.
      • Check if an Integer is Negative- Checks if a number inputted from the user is a negative integer.
    • Exit the Application - Exits/stops the application if selected. While the application is running, it should allow the user to do as many functions as they would like. The application will only end when the user ends it themselves.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY