title: Finding the maximum number
body: <p>Am trying to find the maximum number in the code below but I keep getting this error <code>'float' object is not iterable</code></p>
  <p>Can anyone, help me figure out the probelm?</p>
  <pre><code>while True:
   
      x = input('Enetr a number: ')
      if x == 'done':
          break
      try:
          x_1 = float(x)
      except:
          print('invalid')
          continue
  
  print(max(x_1))
      
  </code></pre>
  <p>Thank you</p>