Can someone please tell me what I’m doing wrong in this Python code sample?
for i in range(len(Adapters)):
print Adapters[i]
I’m trying to list/print out the Array content but the code gives me error on print command: IndentationError: expected an indented block
You need to indent the
printstatement inside the body of the for-loopIf you want to streamline your code, the 2nd loop suggested by @jamylak is the way to go.