You are to work on this activity individually. You are to 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 additiona features. The user will select what function they would like to use in the application, after which they will input the v they would like to use for the computation selected. The program will then compute for the output based on the give function and return the output to the user. The user should then be able to select additional functions and input nev 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 or 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. ■ Exponentiation - Multiplies a number to a specified power 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 ■ ■ ■

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
• You are to work on this activity individually.
• You are to 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 va
they would like to use for the computation selected. The program will then compute for the output based on the give
function and return the output to the user. The user should then be able to select additional functions and input new
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
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.
▪ Exponentiation - Multiplies a number to a specified power 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 u
■
Transcribed Image Text:• You are to work on this activity individually. • You are to 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 va they would like to use for the computation selected. The program will then compute for the output based on the give function and return the output to the user. The user should then be able to select additional functions and input new 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 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. ▪ Exponentiation - Multiplies a number to a specified power 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 u ■
Expert Solution
steps

Step by step

Solved in 8 steps with 5 images

Blurred answer
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