Oracle Loop Through Array Python Example