Part 1
Calculating Profit Amount |
Throughout this course, you will use the latest version of Python to develop programs. Python is a high-level, general-purpose language created in the early 1990s that has become popular in business and academic applications. Python can be used for web application development, desktop application development, and massively multiplayer online role-playing games such as Eve Online. Python can be installed on different operating systems (Windows, Linux, Mac, etc.), and the free version can be installed from the Python official website at python.org.
For this interactive assignment, you will take on the role of a Python programmer that is part of a team of programmers for an online sales company. The head of the accounting department told you that the companys annual profit is typically 19 percent of the companys total sales. He has tasked you to write a simple Python program that will calculate and display the estimated profit amount from an annual amount of sale. In this coding assignment you will utilize what you learned while reviewing the required resources for Week 1. Your program will have to display a clear message to prompt the user to enter any amount of sale (Total Sale: $xxxxx), and it should calculate the estimated profit amount, and show the result in the following format:
Profit Amount: $xxxxxx
Once you have completed the program, take a screen shot of the completed functionality (including the input and the output) and save it in a Word document, along with the script.
In your initial post,
- Attach your word document.
- Describe your process in developing the program.
- Part 2
-
Python Variables
Prior to beginning this discussion read Chapter 2: Variables and Expressions in the course text.
Python variables do not need explicit declaration to reserve memory space. Based on this statement, address the following in your initial post:- Describe the difference between explicit typed variables and implicit typed variables using examples.
- In large scale applications, explain whether or not explicit declaration has a better impact over implicit declaration.