How many times will the following code print the “warning” message?

Automate Cybersecurity Tasks with Python | Weekly challenge 1 Quiz | 

How many times will the following code print the “warning” message?

count = 1
while count < 5:
print("warning")
count = count + 1
  • 5
  • 4
  • 0
  • 1

 

Leave a Comment