Control Statements
Termwise syllabus 2021-22
Chapter 7 Control Statements
Informatics Practices
Class XI ( As per CBSE Board)
Visit : python.mykvs.in for regular updates
Control Statements
Control statements are used to control the flow of execution depending upon the specified condition/logic. There are three types of control statements.
1. Decision Making Statements 2. Iteration Statements (Loops) 3. Jump Statements (break, continue, pass)
Visit : python.mykvs.in for regular updates
Decision Making Statement
Decision making statement used to control the flow of execution of program depending upon condition.
There are three types of decision statement.
1. if statements 2. if-else statements 3. Nested if-else statement
making
Visit : python.mykvs.in for regular updates
Decision Making Statement
1. if statements An if statement is a programming conditional statement that, if proved true, performs a function or displays information.
Visit : python.mykvs.in for regular updates
Decision Making Statement
1. if statements
Syntax: if(condition):
statement [statements] e.g. noofbooks = 2 if (noofbooks == 2): print('You have ') print(`two books') print(`outside of if statement') Output You have two books Note:To indicate a block of code in Python, you must indent each line of the block by the same amount. In above e.g. both print statements are part of if condition because of both are at same level indented but not the third print statement.
Visit : python.mykvs.in for regular updates
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python functions tutorial kart
- python syntax quick reference for some like it tepid project
- conditional statements in python github pages
- python cheat sheet
- python tutorial cheat sheet new york university
- basic python syntax college of engineering
- python language syntax cheat sheet 101 computing
- python if else and nested if else tutorial kart
- control statements
- the python language reference university of idaho
Related searches
- how to find financial statements of companies
- companies financial statements online
- financial statements publicly traded company
- personal purpose statements examples
- how to read financial statements 101
- closing statements for employee reviews
- sample statements for employee evaluation
- philosophy of education statements samples
- find financial statements for a company
- free financial statements of companies
- positive statements examples
- sample mission statements for business