Totaling steps following collatz sequence?
<p>I'm not sure how to get the total number of steps within the collatz sequence, using this code:  </p>

<pre><code>number = int(input('Enter a number, please:'))  

while number &gt; 1:  
    if number % 2 == 0:  
        number = number / 2  
        print(number)  
    else:  
        number = number * 3 + 1  
        print(number)  
    # print('Steps required:',NEED TO FILL , end='')  
</code></pre>