convert the following loop into while loop n=100,s=-2 for I in range (5,n,5) t=1*s. , s=s-1
Answers
Answered by
0
Answer:
ytryhhyyyhh I am a little bit of Gautama I
Answered by
4
Answer:
s = -2
i = 0
while i in range (0,99):
t = 1*s
s = s-1
i += 5
print (t)
#you can add another variable n=100 to the beginning and put the range as n-1 if you want. I didn't add it here for the sake of simplicity
Similar questions