I'm getting a list such as
StudentStatus = ['Physics Pass', 'Chem Distinction', 'Maths Average']
I am printing it like:
for each in StudentStatus:
print each
Hence the output is
Physics Pass
Chem Distinction
Maths Average
I want to print it the other way. I tried -
for each in StudentStatus:
print each[0], each[1]
which just printed
Physics
Chem
Maths
How to split the list to get proper output?