O'Reilly logo
  • Jessica Canepa thinks this is interesting:

Could you have avoided that for-loop entirely on line 22 and just assigned range(0,6) directly to elements?