I am supposed to have a while loop that asks for a number until the number is a negative. Then I am supposed to get a total of all of the numbers EXCEPT the negative number. As of right now my program adds up the absolute value of all the numbers input. any suggedtions on how to add all BUT the negative?
number=float(input("Enter a number: "))
total=number
while number>=0 and number<=100:
number=float(input("Enter a number: "))
total+=abs(number)