In Python 3, range does not return a list. PiperOrigin-RevId: 318566171 Change-Id: I76b66d3fac05660f3735a6fcfa3bd9c1eefb610b