Introduction to python
Collection in Python
Object Oriented python
Python With MYSQL And Excel
Python GUI
Programs in Python
- Swap two number
- Calculate the area
- Even Odd or Zero
- Largest ,Middle and Smallest Number
- Calculate Telephone Bill
- Print Table of The given Number
- Factorial of the number
- Reverse and check number is palindrome
- check number is prime , armstrong
- Program to Print the given patterns
- Guess A Number Game using Random
For Loop in Python
For loop in python may be used to iterate the elements of List, Tuple or Set as following
myList=[1,2,3] # Similarly this loop can iterate the elements of Tuple or Set.
for i in myList:
print(i)
Output:
1
2
3
For loop can also be iterated with the help of range as following.
for i in range(5):
print(i)
Output:
0
1
2
3
4
Factorial Program in Python using for loop
n=int(input("Enter the number to find factorial"))
fact=1
for i in range(1,n+1):
fact=fact*i
print("The factorial of",n,"is",fact)
Click Here
Tutorials
C is a very powerful and widely used language. It is used in many scientific programming situations. It forms (or is the basis for) the core of the modern languages Java and C++. It allows you access to the bare bones of your computer.C++ is used for operating systems, games, embedded software, autonomous cars and medical technology, as well as many other applications. Don't forget to visit this section...
Video/ C Introduction
Watch video in full size