title: Dynamically scaling set of coordinates in a dictonary
body: <p>This is the dictionary I am trying to get into a scaling/dynamic dictionary. </p>
  
  <pre><code>koordinatstring = {
      CoordinateTitle:
      {
          PositionTitle:
          {
              "X": Xvalue,
              "Y": Yvalue
          },
          PositionTitle:
          {
              "X": Xvalue,
              "Y": Yvalue
          },
      }
  }
  </code></pre>
  
  <p>I'm trying to create a loop that will let me create exactly as many sets of coordinates that will look like this:</p>
  
  <pre><code>PositionTitle:
  {
       "X": Xvalue,
       "Y": Yvalue
  },
  </code></pre>
  
  <p>Where <code>PositionTitle</code> and <code>"X": Xvalue</code> and finally <code>"Y": Yvalue</code> are variables I get from other sources.</p>
  
  <p>And at the end I dump all this as a Json.</p>
  
  <p>To Clarify. </p>
  
  <p>I am looking to iterate through a loop that when I tell it too either through a set of hotkeys, like ctrl-4 or E the loop will terminate and continue to on with other code I might have.</p>
  
  <p>But while the loop runs, it should be able to create anything from </p>
  
  <pre><code>koordinatstring = {
      CoordinateTitle:
      {
          PositionTitle:
          {
              "X": Xvalue,
              "Y": Yvalue
          },
      }
  }
  </code></pre>
  
  <p>as a dictonary to this: </p>
  
  <pre><code>koordinatstring = {
      CoordinateTitle:
      {
          PositionTitle:
          {
              "X": Xvalue,
              "Y": Yvalue
          },
          PositionTitle:
          {
              "X": Xvalue,
              "Y": Yvalue
          },
          PositionTitle:
          {
          "X": Xvalue,
          "Y": Yvalue
          },
          PositionTitle:
          {
          "X": Xvalue,
          "Y": Yvalue
          },
      }
  }
  </code></pre>
  
  <p>I believe you would call this scale ability or something similar when it comes to programming.</p>