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

30th May 2020, 1:07 PM
Lazar
Lazar - avatar
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.
30th May 2020, 1:41 PM
A͢J
A͢J - avatar
+ 1
Traceback (most recent call last): File "./Playground/file0.py", line 9, in <module> ip = inlist[0] IndexError: list index out of range
30th May 2020, 1:09 PM
Elyorbek
0
Thats without input
30th May 2020, 1:10 PM
Lazar
Lazar - avatar