ok, it's bit different from what I expected.
you may do also
i = 191561942608236107294793378084303638130997321548169216 result = 0 while i >= 2 : print(f'{result + 1: <3}) {i}') i = i // 2 # i //= 2 result = result + 1 # result += 1I am not sure if you would use result after you exit the loop
you may do also
i = 191561942608236107294793378084303638130997321548169216 result = 1 while i >= 2 : print(f'{result: <3}) {i}') i //= 2 result += 1or
i = 191561942608236107294793378084303638130997321548169216 result = 0 while i >= 2 : result += 1 print(f'{result: <3}) {i}') i //= 2
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs