[Tutor] Print elements of list with newlines

Julius Hamilton juliushamilton100 at gmail.com
Fri Oct 22 10:58:21 EDT 2021


Hey,

Is there any way to print the elements of a list one by one on new lines,
in a brief single line of code, as opposed to:

for item in list:
  print(item)

?

Thanks very much,
Julius


More information about the Tutor mailing list