how to print all elements of list in python i single row code example
Example: print list in one line python
# using * operator
scores = [11, 12, 13, 14, 15, 16]
print(*scores)
# using * operator
scores = [11, 12, 13, 14, 15, 16]
print(*scores)