This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This gist has been written for my school purposes, so please don't be confused | |
n = int(input("Input a number: ")) | |
binary = str(bin(n))[2:] | |
cur = "" | |
counter = 0 | |
cur_counter = 0 | |
for i in range(len(binary)): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DOPISZ F | |
PRZESUN F | |
ZMIEN V | |
DOPISZ M | |
ZMIEN Z | |
DOPISZ E | |
ZMIEN B | |
ZMIEN I | |
PRZESUN Z | |
ZMIEN C |