# Ask for the square footage of wall space to be painted. square footage = int(input('Enter the number of square feet to be painted: # Ask for the price of the paint per gallon. price_gallon = int(input('Enter the price of the paint per gallon: ')) estimate (square footage, price gallon)
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Here I have my code attached below. Only problem that I'm running into is formatting the answer to like 2 decimal places and I didn't use the functions given. I did it how I knew how to do it. I will attach the instructions below. The program is to be written in the Python language as you will see in my code.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images