Skip to content

Instantly share code, notes, and snippets.

@BenRogersWPG
Last active March 19, 2022 16:42
Show Gist options
  • Save BenRogersWPG/de2da34350b1cb70e6aa8a8daa4d12fe to your computer and use it in GitHub Desktop.
Save BenRogersWPG/de2da34350b1cb70e6aa8a8daa4d12fe to your computer and use it in GitHub Desktop.
Python Snippet for VSCode to Populate a For Loop & Print Out Items
"For Items Loop": {
"prefix": "for items",
"body": [
"for items in ${TM_SELECTED_TEXT:$1}:",
" print(f'${TM_SELECTED_TEXT:$1} Item: {items}')"
],
"description": "For Items Loop"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment