how to print list vertically in python code example
Example: print list vertically in python with loop
# using * operator and sep = '\n'
scores = [11, 12, 13, 14, 15, 16]
print(*scores, sep = '\n')
# using * operator and sep = '\n'
scores = [11, 12, 13, 14, 15, 16]
print(*scores, sep = '\n')