title: Using variables as an attribute for a module?
body: <p>Let's say I've got two variables: "choice" = ii7 and "scale" = C.</p>
  
  <p>This library has a function to figure out notes in any particular musical chord by running this:</p>
  
  <blockquote>
    <p>chords.ii7(scale)</p>
  </blockquote>
  
  <p>When scale = C, it'll list the notes of the ii7 chord in the scale of C.</p>
  
  <p>If I had to use the variable "choice" in place of including ii7 in the code itself, how could I go about it? It would definitely be a lot easier to search if I knew what to search for, but I'm a total beginner. This is just to top off the rest of this particular program, and learn something new. Apologies if I worded the title wrong. Thanks in advance!</p>