Skip to content

Instantly share code, notes, and snippets.

@ehzawad
Last active January 3, 2023 09:39
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 ehzawad/a30907eae2c9e727e63327586ffc6606 to your computer and use it in GitHub Desktop.
Save ehzawad/a30907eae2c9e727e63327586ffc6606 to your computer and use it in GitHub Desktop.
for i in l:
strr = '{' + '\r\n' + ' ' + '"text": ' + '"' + i + '"' +'\r\n' + '}'
strr = strr + ','
print(strr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment