List index out of range python while loop July 8, 2019 16 32 64 128 Indexerror list index out of range in while loop python For loop python list