Computer Science, asked by Xiphodon, 11 months ago

rewrite this program using for loop in python:
x=10
y=100
if x==y:
print(x)
elif y > x:
print(y)
while x<10:
print(x)
x+=1​

Answers

Answered by vamanmadhavan10
5

Answer:

X=10

y=100

if X==y:

print(X)

elif y>X:

print(y)

while(X<10):

X+=1

print (X)

Answered by muskanjangde861
0

Answer:

I hope the coding is helpful

Attachments:
Similar questions