What are flow control statements in Python ? |Python in Tamil

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 3

  • @praveenramalingam930
    @praveenramalingam930 ปีที่แล้ว

    👏

  • @manikandanp6120
    @manikandanp6120 2 ปีที่แล้ว

    Mam for loop is finite
    While loop is infinite correct a mam.

    • @Dr.NancyJane
      @Dr.NancyJane  2 ปีที่แล้ว +1

      Both for loop and while loop is used to execute repeated statements. 'For loop' is used when the number of iterations is known, whereas the 'while loop' is executed until the loop condition statement fails. As per definition while loop is mentioned as infinite, but the programmer will anyway specify the terminating condition or use appropriate break statements to exit the loop.