programming-language制御構文whilewhile文On this pagewhile文 Python pywhile ct < 300: .. pywhile xxx: xxxxxelse: xxxxx # break されずに loop を抜けてきたときに通る。なるほど使うかも? Swift swiftwhile a < 4 { a += 1} Bash bashwhile [ $COUNT -lt 300 ]do ..done Ruby rbwhile i < 5 ..end PowerShell powershellwhile ($i -lt 5) { $i++} 📩 ご意見・ご感想はこちらから