Automate Cybersecurity Tasks with Python | Weekly challenge 4 Quiz |
The purpose of the following code is to print the characters in a device ID. 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.)
device_id="p35rv47 for char in device_id: print(char)
What is the error related to?
- A misspelled variable
- A missing double equals sign (==)
- A missing quotation mark (“)
- A missing colon (:)