You are viewing a single comment's thread. Return to all comments →
The * is used for iterable unpacking. So print(*x) is shorthand for
*
print(*x)
print(x[0], x[1], ..., x[-1])
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Sort 2
You are viewing a single comment's thread. Return to all comments →
The
*
is used for iterable unpacking. Soprint(*x)
is shorthand forprint(x[0], x[1], ..., x[-1])