title: if else statement in different row
body: <p>What does it mean when if else statement in different row,I had tried it in same row but the result is different.</p>
  <pre><code>num = 407
  
  if num &gt; 1:
     for i in range(2,num):
         if (num % i) == 0:
             print(num,&quot;is not a prime number&quot;)
             print(i,&quot;times&quot;,num//i,&quot;is&quot;,num)
             break
     else:
         print(num,&quot;is a prime number&quot;)
         
  else:
     print(num,&quot;is not a prime number&quot;)
  </code></pre>