# data[].attributes.body
no output

# data[].attributes.body
x=5
while 1:
x=x-1
if x%3==0:
break
else:
print(x)

# data[].attributes.body
while n<10
print(n)
n+=1

# data[].attributes.body
While n<10

+1=n
)n

# data[].attributes.body
n=0
while n<10:
print (n)
n=n+1

# data[].attributes.body
i = 0

while i < 10:

print(i)

i += 1

Kavya

# data[].attributes.body
n=0
while n<10:
n=n+1
print(n)

# data[].attributes.body
n=0

while n<10:

print(n)

n=n+1

# data[].attributes.headline
Convert the following code in while loop

# data[].attributes.subject
Convert the following code in while loop

# data[].attributes.body
for n in range(10):
print(n)

# data[].attributes.body
c=0

for a in range(10,0):

print(a)

c+=1

print('c={}'.format(c))

# data[].attributes.body
for a in range(10,0,-1):

print(a)

# data[].attributes.body
for a in range(1,10,5):

print(a)

# data[].attributes.body
0
2
4
6
8

# data[].attributes.body
for a in range(0,10,2):

print(a)

# data[].attributes.headline
Program to find the biggest of three numbers

# data[].attributes.subject
Program to find the biggest of three numbers

# data[].attributes.body
i = 0

while i < 10:

print(i)

i += 1

# data[].attributes.body
a=int(input("Enter the first number"))
b=int(input("Enter the second number"))
c=int(input("Enter the third number"))
if a>b>c:

print(a, "the biggest n")

elif b>a>c:

print(b, "the biggest no")

else:

print(c, "the biggest no")

# data[].attributes.body
a=int(input("Enter A:")
b=int(input("Enter B:")
c=int(input("Enter C:")
if a>b and b>c:
print("a is greater")
if b>a and a>c:
print("B is greater")
else:
print("c is greater")

# data[].attributes.body
n1=int(input("Enter a number : "))
n2=int(input("Enter another number : "))
n3=int(input("Enter another number : "))

big=n1

if big<n2:

big=n2

if big<n3:

big=n3

print("The biggest number is", big)

# data[].attributes.body
i = 0

while i < 10:

print(i)

i += 1

Kavya