Home » Python Programming » Python - Quiz(s) » Week 7 – Python Programming – Quiz

Week 7 – Python Programming – Quiz

Please enter your email:

1. The While Loop will continue to run until;

 
 
 

2. The truth term that means equal is

 
 
 

3. The truth term that means not equal is

 
 
 

4. Look at this bit of code. How many times would this run, if the answer is never met?

 

while response != “Because”:
response = input(“Why?\n”)
print (count)
count = count + 1
if count > 100:
break

 
 
 

5. Look at this bit of code. What is the answer it is looking for, to break the loop?

 

while response != “Because”:
response = input(“Why?\n”)

 
 
 


Leave a comment

Your email address will not be published. Required fields are marked *