Dear Sir or Madam,
I am doing the Python & Ethical Hacking course and my Network Scanner was working for me very well but when I did what Zaid does in the program in the “Iterating Over Nested Data Structures” lecture, I am getting error which I do not understand and I cannot figure out why I am getting it. And also may I ask you why I am getting the error “Python 2 is no longer supported.” Thanks a lot for helping me in advance! I appreciate your help a lot!
Hi!
For some reason you have added () in code line 19, remove them. And in general it would be a good practice to compare your code with Zaid’s code to make sure the syntax and indentation are correct.
And the python 2 warning is normal, it is not an error. The python developers are just sending a message.