fork download
  1.  
  2. html_tpl = """
  3. <body>
  4. <h1>{0}</h1>
  5. {1}
  6. </body>
  7. """
  8.  
  9. for article in articles:
  10. output = article.format(article.title, article.body)
  11. some_things_with_output(output)
Runtime error #stdin #stdout #stderr 0.04s 9304KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 9, in <module>
NameError: name 'articles' is not defined