Ask Question
5 September, 21:16

5. What are looping or interactive statements? which

simple looping estatements are provided by python

+1
Answers (1)
  1. 5 September, 21:30
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers