Answers for "print list as space separated python"

0

print list as space separated python

>>> marks = [12, 23, 34, 56]
>>> print(marks)
[12, 23, 34, 56]
>>> print(*marks)
12 23 34 56

// *[listName] can be used to pass all elememts as separate arguements
Posted by: Guest on December-19-2020

Code answers related to "print list as space separated python"

Python Answers by Framework

Browse Popular Code Answers by Language