SyntaxFix
Write A Post
Hire A Developer
Questions
you can simply write:
for item,i in zip(your_list, range(len(your_list)): if type(item) == list: print(f"{item} at index {i} is a list")