I have this code to segregate odd and even numbers . Can't understand why is there a star mark (*) when printing lists of odd and even in the last :
print(*even) print(*odd) what does the star imply , what happens if we don't use it
odd = []
even = []
# number of elemetns as input
n = int(input())
# elements as input
elements = list(map(int,input().split()))
#loop running across all elements
for element in elements:
    #if even, append to even[]
    if element%2 == 0:
        even.append(element)
    else:
        odd.append(element)
#print as a list delimited by space, without brackets
print(*even)
print(*odd)
#Code ends know it's a part of whole syntax of python print statement of using multiple objects , but still unclear .
 
     
     
     
    