Printing each item of a variable on a separate line in Python

后端 未结 4 1708
挽巷
挽巷 2021-01-05 14:37

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))         


        
4条回答
提交回复
热议问题