title: Uxexpected indent error while executing multiple if or elif using while loop and multiple break
body: <p>I am writing a code that just takes 5 positive values and if the user enters a null or no value it should give an error please do enter a number I keep getting this indention error what are the rules for indentation in python also its not able to evaluate the null or none value and give the error message &quot;please do enter a number&quot;, and if I am using elif statement its also the loop should after taking 5 values which is not happening I am new at programming and need your help</p>
  <pre><code>i=1
  while i&lt;5:
   n=int(input(&quot;Enter a number  &quot;))
   if n&lt;=0:
       i+=1
       break
  print(n)
  print(&quot;Loop ended , Negative Value Entered&quot;)
    if n==None:
       i=1
  break
  print(n)
  print(&quot;Loop ended , please do enter a number &quot;)
  </code></pre>
  <p><strong>Here is another code with the elif</strong></p>
  <pre><code>i=1
  while i&lt;5:
       n=int(input(&quot;Enter a number  &quot;))
       if n&lt;=0:
           break
           print(n)
           print(&quot;Loop ended , Negative Value Entered&quot;)
           i=1
       elif n==None:
               break
               i=1        
               print(n)
               print(&quot;Loop ended , please do enter a number &quot;)
       else:
               i+=1
  </code></pre>