List into Integer (Python 2.7)

48 views Asked by At
port = [21, 22, 23, 24, 25, 80]
s.connect((host, port))

The error I get is that an integer is required, how can i get the script to connect to the given ports?

0

There are 0 answers