Automate Cybersecurity Tasks with Python | Weekly challenge 4 Quiz |
The purpose of the following code is to print the numbers from 0 to 9. Run this code, analyze its output, and then debug it. (If you want to undo your changes to the code, you can click the Reset button.)
count = 0while count < 10 print(“number”, count) count = count + 1 count = 0 while count < 10 print(“number”, count) count = count + 1
How can you fix the error?
- Add a missing colon (:)
- Remove the quotation marks around number
- Spell a variable correctly
- Change indentation