I am getting a bug in the code,can anyone help me in fixing the bug
<pre><code>max = 0
min = 0

while True:
  xx = raw_input('enter the value:')
  if xx == 'Done':
    break
  try:
     a = float(xx)
     if a&gt;max:
       max=a
     if a&lt;min:
       min=a
     continue
  except:

        else:
           print 'Invalid input'
           exit()

print 'Maximum is',max
print 'Minimum is',min
</code></pre>