What is the syntax problem in the following code?

Automate Cybersecurity Tasks with Python | Weekly challenge 1 Quiz | 

What is the syntax problem in the following code?

if username == "aestrada":
print("username found")
  • Both lines are not indented.
  • The first line should be indented one space, and the second line should be indented two spaces.
  • The line with if username == “aestrada”: is not indented.
  • The line with print(“username found”) is not indented.

 

Leave a Comment