bad input in Python what shoul i do : I hava a Problem to invert the variable sum to float, the Problem seems from the line under try. 

while True:    
    num = input("Enter a number: ")
    if num == "done" : break 
    try:
    **fnum = float(num)**
    except:
    print("Invalid input")
    continue
    print(fnum)