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