I am trying to print a list in Python that contains digits and when it prints the items in the list all print on the same line.
print (\"{} \".format(ports))
ports = [60, 89, 200] for p in ports: print (p)