Answer:
widgets=float(input("Enter number of widgets you want to buy"))
if widgets<0:
print("Can't compute negative number")
else:
if widgets<100:
cost=widgets*25
else:
cost=widgets*20
print("The total cost of widgets is", cost,"cents")
Explanation:
First I made a variable called widgets to take input of the number of widgets the customer wants to buy. I use the first comditional statement to test if the number of items typed in is not less than zero.
The else statement computed the prices of widgets based on number of widgets greater than zero.
Another conditional statement to check if the widgets is lower that 100 or greater. The cost represents the total amount, in terms of cost it will take for some nuber of widgets.
The last line prints the total cost and some statments
<span>What is Aggregate Demand equivalent to?
A. Real Output</span>
Answer:
I created a jsfiddle for this: https://jsfiddle.net/tonb/o7uv4cdm/26/
Explanation:
see jsfiddle.
The usual html and body tags are omitted for simplicity. For your stand-alone page you'll have to put them in, as well as additional tags for your inline scripting.
Read-write arm swings read-write head back and forth across platter.
Central spindle allows platter to rotate at high speed.
Magnetic platter stores information in binary form.
Plug connections link hard drive to circuit board in personal computer.
Read-write head is a tiny magnet on the end of the read-write arm.
Circuit board on underside controls the flow of data to and from the platter.
Flexible connector carries data from circuit board to read-write head and platter.
Small spindle allows read-write arm to swing across platter I
I hope u understand it better know