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

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 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.