Automate Cybersecurity Tasks with Python | Weekly challenge 1 Quiz |
You want to print all even numbers between 0 and 10 (in other words, 0, 2, 4, 6, 8, and 10). What should your next line of code be?
count = 0 while count <= 10: print(count)
- count = count + 1
- if count < 10:
- count = 1
- count = count + 2