Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reduce(lambda (output,i),octet:(output+(octet<<i),i-8),[int(o) for o in '192.168.1.1'.split('.')],(0,24))[0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement