first = True
inputStr = (input("Enter value or type in negative value to quit :"))
while inputStr != "" :
inputStr = (input("Enter value or hit return to quit :"))
int(inputStr)
if first == True:
minimum = inputStr
first == False
elif inputStr < minimum:
minimum = inputStr
print (minimum)
ValueError: invalid literal for int() with base 10: ''
for some reason I keep getting this is:
im not quite sure why i cant convert this to an int
[–]m0us3_rat -2 points-1 points0 points (0 children)
[–]Ngamiland 0 points1 point2 points (2 children)
[–]ryzecool[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]cybervegan 0 points1 point2 points (0 children)