Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
LOOPS
# there are two types of loop.
#1.for loop
#2.while loop
for i in range(0,10):
print(i)
0
1
2
3
4
5
6
7
8
9
name = "Anuradha"
for i in name:
print(i)
A
n
u
r
a
d
h
a
list = [1,2,44,55,66,77,78]
for i in list:
print(i)
1
2
44
55
66
77
78