Tell me how to print items in a list in reverse order : <p>I want to convert a decimal number into binary. I did everything correctly but i cant print the output. Please tell me how do i reverse the list.</p>

<pre><code> q = int(input("Enter a number\n&gt;"))
lup = 1
binary_digits=[]
while lup == 1:
    deci = q%2
    binary_digits.append(str(deci))
    q = int(q/2)
    if q&lt;1:
        lup = 100
print(binary_digits)  #I know the output is reversed. I want to reverse 
#it to make it in order.
</code></pre>

<p>Prints output in reverse.</p>
