title: Write a program that asks the user to type in 5 numbers , and that outputs the largest of these numbers and the smallest of these numbers
body: <p>Write a program that asks the user to type in 5 numbers , and that outputs the largest of these numbers and the smallest of these numbers. So for example if the user types in the numbers 2456 457 13 999 35 the output will be as follows :
  the largest number is 2456
  the smallest number is 35</p>
  
  <p>In Python</p>
  
  <pre><code>a = input()
  first = int(a)
  b = input()
  second = int(b)
  c = input()
  third = int(c)
  d = input()
  fourth = int(d)
  if a &gt; b or a &gt; c or a &gt; d:
    print ('the larges number' + a)
  elif a &lt; b or a &lt; c or a &lt; d:
    print ('the smallest number' +a )
  elif b &gt; a or b &gt; c or b &gt; d:
    print ('the larges number' + b)
  elif b &lt; a or b &lt; c or b &lt; d:
    print ('the smallest number is' + b )
  elif d &gt; a or d &gt; b or d &gt; c:
    print ('the biggest number is' + d )
  elif d &lt; a or d &lt; b or d &lt; c:
    print ('the smallest numbet is'+ d)
  else:
  </code></pre>
  
  <p>I came up with this idea, but I dont think it works correctly </p>
  
  <p>numbers, and that outputs the largest</p>
  
  <p>of these numbers and the smallest of these numbers.</p>
  
  <p>In my module handbook I have this example </p>
  
  <pre><code>num = 0
  
  while num &lt; 100:
  
  num = num + 5
  
  print(str(num))
  
  print(’Done looping!’)
  </code></pre>
  
  <p>however after this , there is no further explanation of how do I solve the question. Could you please help me ?</p>
  
  <p>I need to solve the question trough using while loops , 
  I am very new to programing, please help. </p>