Javascript Loop Through Array And Arraylists In Python There Is No Restriction