0
whileループの条件がPythonのループ内で真であるかどうかを確認する方法はありますか?このようなもの:特定のポイントでwhileループを評価しますか?
i = 0
while i < 2:
i = 2
evalcond
print("This executes because the condition is still true at this point")
これは可能ですか?
を行うことができますが、 '1しばらくしたいように見える:'と 'の場合:... break'構造を。 – TigerhawkT3