What is wrong with the following code?

Automate Cybersecurity Tasks with Python | Weekly challenge 1 Quiz | 

What is wrong with the following code?

for username in failed_login:
print(username)
  • The line with print(username) is not indented.
  • The line with for username in failed_login: is not indented.
  • Both lines are not indented.
  • The first line should be split in two, and in failed_login: should be indented on the new line.

 

Leave a Comment