Hi guys, it may sound a stupid question but I’ve never solved problems in which I had to output a list, what’s the correct format?
A string with n space separated integers or a list in Python 3?
use print(*list,sep=' ')
1 Like
print(*list_name)
or
for i in list:
print(i, end=" ")
Thaanks
[20 characters]
Or if we’re using C++?