Skip to content
Sign upLog in

IndexError

Profile icon
ggigabyte

Just run it and you'll see. I've no clue where's the bug and why so please help me!

You are viewing a single comment. View All
Profile icon
c4syner

Could you explain what

elif "ans" in cmd: ansnum = 4 answer = list() for i in range(len(cmd)): print(i) answer.append(cmd[ansnum]) ansnum += 1 print(answer)

does?