bstephenson22 bstephenson22
  • 22-01-2020
  • Computers and Technology
contestada

Write a loop to print 56 to 70 inclusive (this means it should include both the 56 and 70). The output should all be written out on the same line.

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 28-01-2020

Answer:

for i in range(56,71):

   print(i)

Explanation:

By the range 56 to 71 it means that for loop will run when i=56 to i=71, but the upper bound is one less than the upper bound, and which is 70. So the above loop will print integers from 56 to 70.

And the above code is in Python.

Answer Link
fnej
fnej fnej
  • 22-04-2021

Answer:

for i in range(56, 71):

  print(i, end=" ")

Answer Link

Otras preguntas

Determine whether the figure is a right triangle. a right triangle contains one 90 degree angle. Justify your answer with slopes. ( question 16)
what did the loyalist believe in
whats the answer for 7x-3x^2=85+2x^2=2x and how do you solve it
Determine whether the figure is a right triangle. a right triangle contains one 90 degree angle. Justify your answer with slopes. ( question 16)
someone tell me what is 9/8 simplified
the total amount of _________ is the same before and after any transformation
The floor in Lila's bedroom is 30 square yards. Calculate the area in square feet
What improvements in technology have resulted in smaller hearing aids? What are the advantages of smaller hearing aids?
A male rabbit has white hair; a female has brown hair. What do you think the most likey color of their offspring is?
One reason crusaders fought was to