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

25 more than five times the quantity of a number decreased by 7 is 0. Find the number
what does 9 to the 13th power equal?
What is the answer to the problem. Increase 14 by 45%
What is the answer to this equation, p - 1.34 = -11.8
what determines an elements chemical properties ?
What roles do exchange particles play in an interaction?
a hairstylist schedules 1/4 hour to trim a customers hair and 1/6 hour to style the customers hair. the hairstylist plans to work 3 1/3 hours each day for 5 day
Adam Smith believed that fair prices for goods are determined in a capitalist system
What would be the MOLARITY (M) of the NaBr in the same buffer solution, if its concentration is now 0.9% (w/v)? Relative atomic masses:Na = 23; Br = 80
A rectangular lot whose perimeter is 340ft is fenced along three sides. An expensive fencing along the lot's length cost $42 per foot. An inexpensive fencing al