Automate Cybersecurity Tasks with Python | Weekly challenge 2 Quiz |
What is an advantage of including this comment in the following code? Select all that apply.
# For loop iterates to print an alert message 5 times for i in range(5): print("alert")
- It is displayed in the output when the code is run in Python.
- It can help other programmers understand the purpose of this loop.
- It can help you understand the code if you revisit it in the future.
- It ensures the loop will function when the code is run in Python.