Answer:
total = 0
k = 1
while k <= 50:
total += k**2
k += 1
print(total)
Explanation:
Note: There some errors in the question. The correct complete question is therefore provided before answering the question as follows:
Use the variables k and total to write a while loop that computes the sum of the squares of the first 50 counting numbers, and associates that value with total. Thus your code should associate 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 with total. Use no variables other than k and total.
The answer is now explained as follows:
# Initialize k which is the number of term
k = 1
# Initialize total which is the sum of squares
total = 0
# Loop as long as k is less than or equal to 50.
while (k <= 50):
# Add the square of k to total in order to increase it
total = total + k * k
# Increase the value of k by one.
k += 1
# Finally, output total
print (total)
Answer:
They should give out a coffee cup to each person and charge full price for the first time that you fill the cup but then after they finish the first drink they should offer a discount if you reuse the same cup. They should tell you that you can bring back coffee cups from even a few days ago and you could still be eligible for the discount. This way even people that don't drink as much coffee can still be eligible to get a discount on their coffee.
Explanation:
:)
Answer:
shows the costumer or buyer how the product looks
.....If the colors are from different segments of the color wheel.
There are different kinds of software implementation strategy. The software implementation strategy would you recommend in this situation to allow users fall-back access to the old system as the new one is implemented is parallel start up.
- Parallel running often called parallel start up strategy for system changeover where a new system slowly takes over the roles of the older system even when both systems operate.
This conversion often occur when the technology of the old system is outdated and as such a new system is needed to be installed to replace the old one.
The parallel running phase is the act of changing a fragment of business information technology operation to a new system.
Learn more about Parallel start up from
brainly.com/question/9343211