title: Dynamically accessing globals through string interpolation
body: <p>You can call variables through a loop in Python like this:</p>
  <pre class="lang-py prettyprint-override"><code>var1 = 1
  var2 = 2
  var3 = 3
  
  for i in range(1,4):
      print(globals()[f&quot;var{i}&quot;])
  </code></pre>
  <p>This results in:</p>
  <pre class="lang-py prettyprint-override"><code>1
  2
  3
  </code></pre>
  <p>Now I'm looking for the equivalent way to call variables using interpolated strings in Julia! Is there any way?</p>
  <p>PS: I didn't ask &quot;How to get a list of all the global variables in Julia's active session&quot;. I asked for a way to call a local variable using an interpolation in a string.</p>