I want it so that if you input the gross income as anything less than 0, it will ask you to re-input the answer until it gets a positive number but I'm a bit stuck on it.
GrossIncome = float(input("Enter your gross income: "))
GrossIncome == <0:
print("sorry, could you please repeat that?")
print(GrossIncome)
if GrossIncome >0:
break
this is what i have right now and if anyone can help me that would be great