menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
When does the following while-loop stop running? var = 1 while var == 1 : num = num+1 print (num) A. As soon as num reaches the value of 10 B. After the first time through the loop it stops C. It never
asked
Sep 26, 2021
215k
views
0
votes
When does the following while-loop stop running?
var = 1
while var == 1 :
num = num+1
print (num)
A. As soon as num reaches the value of 10
B. After the first time through the loop it stops
C. It never stops running
D. None of the above
Computers and Technology
high-school
Alex Da Franca
asked
by
Alex Da Franca
6.8k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
The loop never stops running because the value of var is always 1.
Giang Le
answered
Sep 30, 2021
by
Giang Le
6.7k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
7.2m
questions
9.6m
answers
Other Questions
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
This is science they just dont have the subject buy anyways describe interactions you have with the environment that you depend on to meet your basic needs hope u can help
If a person sends email from a school computer or a business computer, should that message be considered private? Does the institution or person that owns the computer from which email is sent have a right
True or false 1) high resolution images show greater detail & more subtle color transition than low resolution images. 2 ) you can search for multiple words in the search text box by inserting commas between
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org