0
Anyone got any idea on why this code isnt working
https://code.sololearn.com/c73dRaCeAHR3/?ref=app It doesnt even give me an error There are print statements before anything that wouldnt return anything Please help
3 Answers
+ 2
Lazar Because socket is unable to connect with IP within the range of Port. This condition s.connect_ex((ip, port)) == 0 is getting false value.
+ 1
Traceback (most recent call last):
File "./Playground/file0.py", line 9, in <module>
ip = inlist[0]
IndexError: list index out of range
0
Thats without input