Lab 6 - Looping over lists and JSON

In this lab we are going to learn the basics of using loops and then extend our example of using Amazon Translate to repeat the process of translating text stored in a JSON file.

  • The first step is to learn about simple loops using lists and using range() as a counter.
  • The second step is to apply this to a very common AWS example of data using JSON.
  • The third step is to learn about creating lists using list comprehension.