title: Loop is not repeating
body: <p>I am trying to make this &quot;algorithm&quot;, which will take the number and get  it down to 4, 2, 1. If anyone have seen the youtube video regarding this math problem, they will understand.</p>
  <pre><code>done = False
  
  while True:
      num = int(input(&quot;Enter a number: &quot;))  
      if (num % 2) == 0:  
          print(num/2)  
      else: 
          print(num * 3 + 1)
      if num == 1 or 2 or 4:
          break
  </code></pre>
  <p>The output is this algorithm not repeating itself.
  If I type in number 5 it will x3+1, and print only 16. What I want is it doing this, but keep going till the number is either 1,2 or 4. Hope yall can help :D</p>