I have a list that looks like:
[['a', 'b', 'null', 'c'], ['d', 'e', '5', 'f'], ['g' ,'h', 'null' ,'I'] ]
I want to uppercase all strings, but when I try:
x = 0
for row in range(1, sheet.nrows):
listx.append(sheet.cell(row, x))
[x.upper() for x in x in listx]
x += 1
I got:
TypeError: 'bool' object is not iterable
How can I make a statement for it?