Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit 52ef2d5

Browse files
Code snippet for do-while loop equivalent
1 parent 140c6f5 commit 52ef2d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎snippets/base.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@
121121
"body": "while ${1:condition}:\n\t${2:pass}0ドル",
122122
"description" : "Code snippet to create a while loop structure."
123123
},
124+
"dowhile": {
125+
"prefix": "dowhile",
126+
"body": "do = True \nwhile do or ${1:condition}:\n\t{2:body}\n\tdo = False0ドル",
127+
"description" : "Code snippet to create a do-while loop structure."
128+
},
124129
"try:except:": {
125130
"prefix": "try",
126131
"body": "try:\n\t${1:pass}\nexcept ${2:Exception} as ${3:e}:\n\t${4:raise 3ドル}0ドル",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /