Created
February 9, 2021 10:03
-
-
Save lockdef/50f066ef4039bdb648526a56394b47ed to your computer and use it in GitHub Desktop.
コードをVSCodeのSnippetのBodyに変換する、exitが入力されるまで読み込む
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet = [] | |
while True: | |
s = input() | |
if s == "exit": | |
break | |
snippet.append(s) | |
for s in snippet: | |
print(f'"{s}",') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment