Convert the following for loop into while loop.
for num in range(-10, 0, 1):
print(num)
Answers
Answered by
2
Explanation:
num=int(input("enter the value"))
while num<0 and num>-10:
print(num)
Similar questions