What does the following loop do?
val = 0
total = 0
while (val < 10):
va...
Computers and Technology, 03.12.2020 07:00 katelynndonahue2393
What does the following loop do?
val = 0
total = 0
while (val < 10):
val = val + 1
total = total + val
print(total)
Prints the numbers backwards from 10 to 1.
Prints the sum of the numbers from 1 to 10.
Finds the average of the numbers between 1 and 10.
Prints the numbers from 1 to 10.
Answers: 3
Computers and Technology, 22.06.2019 12:30
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680. β what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
Mathematics, 15.12.2020 21:40
Chemistry, 15.12.2020 21:40
History, 15.12.2020 21:40
English, 15.12.2020 21:40
Mathematics, 15.12.2020 21:40
Social Studies, 15.12.2020 21:40
Mathematics, 15.12.2020 21:40
Mathematics, 15.12.2020 21:40
Mathematics, 15.12.2020 21:40
Mathematics, 15.12.2020 21:40