python - How can I stop a While loop? - Stack Overflow

python - How can I stop a While loop? - Stack Overflow

瀏覽:644
日期:2025-06-15
I wrote a while loop in a function, but don't know how to stop it. When it doesn't meet its final condition, the loop just go for ever. How can I stop it? def determine_period(universe_array): ... the problem is in your question. "when it doesnt meet its ...看更多