This file contains 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
"""Test task""" | |
def ntoa(num): | |
c = 2**8 | |
ip=[] | |
k=range(4) | |
k.reverse() | |
for i in k: | |
p, num = divmod(num,c**i) |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am mapcuk on github. | |
* I am mapcuk (https://keybase.io/mapcuk) on keybase. | |
* I have a public key ASDa80SoUC5xqFE31Fm89qmPIAL_WtZASSNtRBNeP8-sQAo | |
To claim this, I am signing this object: |