That's correct.
Same goes for -= *= and /=
It essentially just means "Do this, to this variable".
sum += 7 "Add 7 to sum"
result *= 10 "Multiply result by 10"
So on, and so forth.
Answer:
total = 0
for i in range(4):
bill = float(input("Enter bill for quarter " + str(i+1) + ": "))
total += bill
average = total / (4 * 3)
if average > 75:
print("Average monthly bill is $" + str(average) + ". Too much water is being used")
if 25 <= average < 75:
print("Average monthly bill is $" + str(average) + ". A typical amount of water is being used")
if average < 25:
print("Average monthly bill is $" + str(average) + ". Thank you for conserving water")
Explanation:
*The code is in Python.
Create a for loop that asks the user to enter the bill for 4 quarters and calculate the total of the bills
Calculate the average monthly bill, divide the total by 12
Check the average for the given conditions. Depending on its value print the required message along with the average monthly bill
The answer : B 4 is the value of the month that will be displayed on the web page
Answer:
trackball
Explanation:
A trackball can be seen on a mouse.
Answer:
The default location for local logon scripts is
- the Systemroot\System32\Repl\Imports\Scripts folder