num = 1
while num >= 0:
num = int(input("Enter a number greater than or equal to 0: "))
I hope this helps!
5.4m questions
7.0m answers