Lets say i have a list of list containing:
[[1,'A'],[2,'B'],[3,'C']]
and i want to print it out as such:
1 A
2 B
3 C
I was thinking of using a for loop to print each element in the list of list but I wasn't quite sure of it.
lst = [[1,'A'],[2,'B'],[3,'C']]
for i in lst:
print(lst[i]) #perhaps needing to use \n in the loop?