title: List the SNS topic using boto3
body: <p>Im trying to list the sns topic using boto3</p>
  <p>im using this code</p>
  <pre><code>import boto3
  import pprint
  
  response = client.list_topics(
      NextToken='string'
  )
  
  
  list_topics=[]
  for each_reg in response['topic']:
      print(each_reg['topic])
  </code></pre>
  <p>but im geting this error</p>
  <pre><code> File &quot;kri.py&quot;, line 14
      print(each_reg['topic])
                            ^
  SyntaxError: EOL while scanning string literal
  </code></pre>