title: How do I use a Rotary Encoder to pick, a out a name from a dictionary
body: <p>I'm a working on  a project where I'm using an raspberry pi zero to read and write to a google sheet using a RFID. It also has an LCD screen that shows your Chip id /name, classroom and datetime. It also includes a Rotary encoder.</p>
  <p>This is my question.
  How do I create a list or dictionary (don’t know what is best) where I can chose a from set list/dictionary a specific place. How would I print only y or x [x, y, x].</p>
  <p>And how would I make the Rotary encoder be able to scroll the list/dictionary and then choose x, y or x</p>
  <p>This is the code I have for the encoder: <a href="https://github.com/modmypi/Rotary-Encoder/" rel="nofollow noreferrer">https://github.com/modmypi/Rotary-Encoder/</a></p>