Ads block

Banner 728x90px
Showing posts with label Python Programming Unit 2. Show all posts
Showing posts with label Python Programming Unit 2. Show all posts

Loop Control Statements


Loop Control Statements
Loop control statements            Loop control statements change execution from it's normal sequence. When execution leaves a scope, all automatic objec…
Read more »

Nested Loop in Python


Nested Loop         Python programming language allows to use one loop inside another loop . Loop defined within another loop is know as nested loops. Nested…
Read more »

While Loop in Python


While Loop in Python
While loop       In Python, while loop is used to execute a block of statements repeatedly until a given condition is satisfied. And when then condition is b…
Read more »

For Loop in Python


For Loop in Python
For Loop    For, loop in Python is used to execute a block of statements or code several times until the given condition is becomes false.  It is better to u…
Read more »

Loop in Python


Loop in Python
Python Loops        A loop is a programming structure that repeats a sequence of instructions until a specific condition is met. A loop statement in Python a…
Read more »

Float Representation in Python


Floating Point Representation                The float type in Python represents the floating-point number. Float is used to represent real number and is wr…
Read more »

Expression Evaluation


Expression Evaluation            A Python program contains one or more statements . A statement contains zero or more expressions . Python executes by evalua…
Read more »

Pass Statement


Pass Statement         In Python, the pass keyword is used to execute nothing ; it means, when we don't want to execute code, the pass can be used to exe…
Read more »

Nested If Statement


Nested If Statement
Nested-If       You can have if statements inside another if statement , this is called nested if statements. An if statement present inside another if sta…
Read more »

Elif Statement


Elif Statement
Elif Statement         Sometimes there are more than two possibilities, in that case we can use the elif statement. It stands for "else-if" which m…
Read more »