Showing posts with the label LoopShow All

Prime number program in python

Prime number program in python 1.Prime number:  What is meant by prime number ?  _ It is positive Integer which is Only divisible by itself and one 2.Composite Number:       If a integer is composite in smaller number it called as composite nu…

Read more

python for else

In other programing language we use  else statement/condition  with if  i.e. if else ,else is used to execute a code when condition of if block become false ,These are the conditional statement use to execute code base on  different conditions

Read more

Control statements in python

Python supports different loops to repeat the same task or to execute the same code several times but some time user want to skip some part of loop or come out from loop at that time ,user can use the  Control statements . Control statements can  only appear in …

Read more