Skip to content
cs2study

cs2study

Computer Science C.B.S.E syllabus

  • Home
  • Python-Class XI
    • Videos
    • PDF/PPT
    • Programs
    • Papers
    • MCQ Quiz
    • Project/Practical File Class XI
    • Online Class-XI
  • Python-Class XII
    • Videos
      • File Handling
      • Python Functions
      • Stack
      • MySQL with Python
      • Videos-Networking
    • PDF/PPT
      • Function
      • Python Modules
      • File Handling
      • Stack and Queue
      • MySQL
      • Networking
    • Programs
      • Function Programs
      • File Handling
      • Stack and Queue
      • MySQL
      • MySQL Connectivity
    • Papers
      • Sample Papers
      • School Papers
      • Assignment/Test
    • MCQ
      • MCQ Quiz
      • MCQ Chapter-wise
    • Projects & Practical Files
    • Board Practical Exam
  • Python-Quick Revision
    • Notes
    • Errors and Outputs
    • Exam Revision Notes
    • Question Bank
  • C++
    • Notes
    • Programs/Questions
    • Project/Practical File C++
  • MySQL Software
  • Syllabus
  • Toggle search form

LOOPS

Posted on By Pallavi S 1 Comment on LOOPS

Loop Types

There may be a situation, when you need to execute a block of code several times. In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on. Programming languages provide various control structures that allow for more complicated execution paths. A loop statement allows us to execute a statement or group of statements multiple times and the following is the general form of a loop statement in most programming languages:

Python programming language provides the following types of loops to handle looping requirements.

Sr.No Loop Type & Description
1 while loop: Repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop body.
2 for loop :Execute a sequence of statements multiple times and abbreviates the code that manages the loop variable.

 

 

 

Class XI, Class XI

Post navigation

Previous Post: Function
Next Post: MySQL Python Connectivity Commands

Comment (1) on “LOOPS”

  1. Joel817 says:
    at

    Monetize your traffic instantly—enroll in our affiliate network! https://shorturl.fm/iLAL2

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Tips-Networking Case-based Questions
  • XII-Board Practical Exam 2020-21
  • Stack and Queue
  • Questions on Tuples
  • Networking -Full Forms

Recent Comments

  • Diplomi_ouol on Tips-Networking Case-based Questions
  • elutaivuqiqej on Tips-Networking Case-based Questions
  • ifagixezuwaje on Tips-Networking Case-based Questions
  • Davidbobia on Tips-Networking Case-based Questions
  • rocketplay3 on Tips-Networking Case-based Questions

Categories

  • About
  • C++
    • Notes
    • Programs/Questions
    • Project/Practical File C++
  • Class XI
    • MCQ
    • Online Class-XI
    • PDF/PPT
  • Class XII
    • Assignment/Test
    • Board Practical Exam
    • File Handling
    • File Handling
    • Function Programs
    • Notes
    • Projects and Practical Files Class XII
      • Project/Practical File Class XI
      • Stack
        • Stack and Queue
    • Quick Revision
      • Errors and Outputs
      • Exam Revision Notes
      • Question Bank
    • Stack and Queue
  • File Handling
  • Function
  • Home
  • MCQ Chapter-wise
  • MCQ Quiz
  • MCQ Quiz
  • MySQL
  • MySQL Software
  • Papers
  • Papers
  • PDF/PPT
    • MySQL
    • MySQL with Python
    • Networking
  • Practical/Project
  • Programs
  • Programs
    • MySQL Connectivity
  • Python Functions
  • Python Modules
  • Python_fundamentals
  • Sample Papers
  • School Papers
  • Syllabus
  • Videos
  • Videos
  • Videos-Networking

Archives

  • March 2021
  • February 2021

Categories

  • Assignment/Test paper
  • Board Practical Exam
  • Class XI
  • Class XI
  • Class XII
  • Function
  • MySQL Notes
  • MySQL with Python
  • Networking
  • tuple
  • XI Videos

Copyright © 2025 cs2study.

Powered by PressBook WordPress theme