Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1053

Nested for loops on cursor seem not to work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      CentOS 7.0
    • Backwards Compatibility:
      Fully Compatible
    • Story Points:
      1

      Description

      This comes from an exercise in the M101P course-

      In the brief file, attached, you see a for loop on a cursor with a nested for loop on a cursor. The outer cursor should loop 4 times, and the inner cursor should loop 4 times. 4x4 = 16. Instead, when the inner cursor completes, it seems also to close the outer cursor ??

      The attachment runs self contained. Safe and easy.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: