printing each item of a variable on a separate line in python,"print('\n'.join(map(str, ports)))"