Q. What are the four elements of a while loop in Python?


Answer =

The four element of a while loop in python are as follow:

(i) initialization expressions (starting)
(ii) test expression (reporting or stopping)
(iii) the body of the loop (doing)
(iv) update expression (changing)

You can uderstand by watching videos ---


Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post