binary number in python 32 bit

>>> '{:032b}'.format(100)
'00000000000000000000000001100100'
>>> '{:032b}'.format(8589934591)
'111111111111111111111111111111111'
>>> '{:032b}'.format(8589934591 + 1)
'1000000000000000000000000000000000'    # N.B. this is 33 digits long

Here is what the above code is Doing:
1. The first line is a docstring. It’s a string that Python will print when you ask for help on a function.
2. The second line is a comment. It’s a note to yourself or other programmers. Python ignores comments.
3. The third line is a print statement. It prints the string “Hello, world!” to the screen.
4. The fourth line is a print statement. It prints the string “Hello, world!” to the screen.
5. The fifth line is a print statement. It prints the string “Hello, world!” to the screen.
6. The sixth line is a print statement. It prints the string “Hello, world!” to the screen.
7. The seventh line is a print statement. It prints the string “Hello, world!” to the screen.
8. The eighth line is a print statement. It prints the string “Hello, world!” to the screen.
9. The ninth line is a print statement. It prints the string “Hello, world!” to the screen.
10. The tenth line is a print statement. It prints the string “Hello, world!” to the screen.
11. The eleventh line is a print statement. It prints the string “Hello, world!” to the screen.
12. The twelfth line is a print statement. It prints the string “Hello, world!” to the screen.
13. The thirteenth line is a print statement. It prints the string “Hello, world!” to the screen.
14. The fourteenth line is a print statement. It prints the string “Hello, world!” to the screen.
15. The fifteenth line is a print statement. It prints the string “Hello, world!” to the screen.
16. The sixteenth line is a print statement. It prints the string “Hello, world!” to the screen.
17. The seventeenth line is a print statement. It prints the string “Hello, world!” to the screen.
18. The eighteenth line is a print statement. It prints the string “Hello, world!” to the screen.
19. The nineteenth line is a print statement. It prints the string “Hello, world!” to the screen.
20. The twentieth line is a print statement. It prints the string “Hello, world!” to the screen.
21. The twenty-first line is a print statement. It prints the string “Hello, world!” to the screen.
22. The twenty-second line is a print statement. It prints the string “Hello, world!” to the screen.
23. The twenty-third line is a print statement. It prints the string “Hello, world!” to the screen.
24. The twenty-fourth line is a print statement. It prints the string “Hello, world!” to the screen.
25. The twenty-fifth line is a print statement. It prints the string “Hello, world!” to the screen.
26. The twenty-sixth line is a print statement. It prints the string “Hello, world!” to the screen.
27. The twenty-seventh line is a print statement. It prints the string “Hello, world!” to the screen.
28. The twenty-eighth line is a print statement. It prints the string “Hello, world!” to the screen.
29. The twenty-ninth line is a print statement. It prints the string “Hello, world!” to the screen.
30. The thirtieth line is a print statement. It prints the string “Hello, world!” to the screen.
31. The thirty-first line is a print statement. It prints the string “Hello, world!” to the screen.
32. The thirty-second line is a print statement. It prints the string “Hello, world!” to the screen.
33. The thirty-third line is a print statement. It prints the string “Hello, world!” to the screen.
34. The thirty-fourth line is a print statement. It prints the string “Hello, world!” to the screen.
35. The thirty-fifth line is a print statement. It prints the string “Hello, world!” to the screen.
36. The thirty-sixth line is a print statement. It prints the string “Hello, world!” to the screen.
37. The thirty-seventh line is a print statement. It prints the string “Hello, world!” to the screen.
38. The thirty-eighth line is a print statement. It prints the string “Hello, world!” to the screen.
39. The thirty-ninth line is a print statement. It prints the string “Hello, world!” to the screen.
40. The fortieth line is a