Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created June 14, 2019 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marzdgzmn/3fddb8753d7f6bccbeb449f321021871 to your computer and use it in GitHub Desktop.
Save marzdgzmn/3fddb8753d7f6bccbeb449f321021871 to your computer and use it in GitHub Desktop.
sample = { 'test': 'this is a test'}
for s in sample:
for msg in sample[s]: print "<li>%s</li" % msg
<li>t</li>
<li>h</li>
<li>i</li>
<li>s</li>
<li> </li>
<li>i</li>
<li>s</li>
<li> </li>
<li>a</li>
<li> </li>
<li>t</li>
<li>e</li>
<li>s</li>
<li>t</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment