Computer Science, asked by TanviArora20, 8 months ago

Convert the following for loop into while loop.
for num in range(-10, 0, 1):
print(num)

Answers

Answered by sambhavgautam6
2

Explanation:

num=int(input("enter the value"))

while num<0 and num>-10:

print(num)

Similar questions