Ask Question
20 January, 08:09

5. What are looping or interactive statements? which

simple looping estatements are provided by python

+5
Answers (1)
  1. 20 January, 10:51
    0
    Looping statements are statements which execute one or more statements repeatedly a several number of times. Specifically when you need to execute a block of code in less time, less memory and etc, the looping concept is necessary.

    Python provides many different ways for executing loops. While all the ways provide similar basic functionality, they differ in their syntax and condition checking time ...

    The while loop: used to execute a block of statements repeatedly until a given a condition is satisfied. (And when the condition becomes false, the line immediately after the loop in program is executed.)

    The for loop: used for sequential traversal

    (Includes)

    - looping through a string

    - Break statements

    - Continue statements

    - range () functions

    - else statements

    - nested loops
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “5. What are looping or interactive statements? which simple looping estatements are provided by python ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers