Computer Science, asked by rajpootanuj2004, 7 months ago

why while true runs infinity in python?​

Answers

Answered by swastikash
1

Explanation:

When a while loop is executed it need a condition to know how long to continue.

Syntax: while <condition>:

statement (s)

So when the condition is True it will run till the condition becomes false.

If you need more help I'll answer in comment section.

Hope this helps.

Similar questions