title: how do i loop through 2d arrays in python
body: <p>How would I loop through the contents of each nested list? I obviously can use for I in keywords, but that just prints the entire lists, sequentially. What I need to do, is loop through the contents of each list, before then moving on to the next list and looping through its contents. </p>
  
  <pre><code>keywords = [
      ["wet","water","soaked","liquid"],
      ["cracked","broken","smashed","snapped"],
      ["dead","charge","flat","turn on"]]
  
  for i in keywords:
      print i
  </code></pre>