Hey guys I cannot figure out how to use a while loop to find the smallest number entered by a user. I know I have to assign a number entered to stop the program then print the smallest number that was entered. This is what I have so far:
while(True):
A = int(input("Enter a Number (Use -1 to Stop): " ))
if(A == -1):
break
Any help would be appreciated, thank you.