Answer:
TAX_RATE = 0.20
STANDART_DEDUCTION = 10000.0
DEPENDENT_DEDUCTION = 3000.0
gross_income = float(input("Enter the gross income: "))
number_of_dependents = int(input("Enter the number of dependents: "))
income = gross_income - STANDART_DEDUCTION - (DEPENDENT_DEDUCTION * number_of_dependents)
tax = income * TAX_RATE
print ("The income tax is $" + str(round(tax, 2)))
Explanation:
Define the <em>constants</em>
Ask user to enter the <em>gross income</em> and <em>number of dependents</em>
Calculate the <em>income</em> using formula (income = gross_income - STANDART_DEDUCTION - (DEPENDENT_DEDUCTION * number_of_dependents))
Calculate the <em>tax</em>
Print the <em>tax</em>
<em />
round(number, number of digits) -> This is the general usage of the <em>round</em> function in Python.
Since we need <u>two digits of precision</u>, we need to modify the program as str(<u>round(incomeTax, 2</u>)).
Answer:
1) Meditate : Create a little space in your room where you can meditate (e.g. light candles and incense, play calming music). Reaching a meditative state takes practice but there are some great tips for beginners online. Meditation can help ease anxiety and improve concentration.
2) Watch something funny. Laughter really is the best medicine. It relieves physical tension, reduces stress and increases immunity…so watch your fave comedy and laugh your way to tranquility.
<u><em>Hope this helps.....</em></u>
<u><em>Pls mark this answer as brainliest :)</em></u>
<h2> </h2><h2> <u><em>
STAY COOL </em></u> </h2>
Answer:
Arguments: "blue" and "gray"
Parameters: x and y
Explanation:
In programming, a function can take zero or one or more than one input values. These input value will be held by the variables which are called parameters. In this code snippet, x and y are parameters of wearIt function.
On another hand, when calling a function, we provide the values to the function and the values provided are termed as arguments. In this case, we provide the string blue and gray which are held by shirt and pants variables respectively to the function wearIt. The string "blue" and "gray" will then be passed to parameter x and y which will be processed in the function.
Answer:
UTILITY PROGRAM
Explanation:
Utility program are program that perform routine processing function such as sorting and merging. They are often used by auditors to performs a very specific task, usually related to managing system resources. It contain a number of utilities for managing disk drives, printers, and other devices.
Utility program also performs specific task related to the management of computer functions, resources, password protection, memory management, virus protection, and file compression.
If your choices are the following:
<span>A. Legend
B. Chart area
C. Slices
D. Chart elements
Then the answer is letter B. </span>Chart area is the boundary that contains all the chart and all its elements including the chart titles, legends, plot area, labels, etc.