diff --git a/games/forensics/arecibo.py b/games/forensics/arecibo.py new file mode 100755 index 0000000..447f620 --- /dev/null +++ b/games/forensics/arecibo.py @@ -0,0 +1,15 @@ +#! /usr/bin/env python3 + +# 0 1 2 3 4 +# 1234567890123456789012345678901234567890123 +# ||| | | | | | | | | | | | | +msg = (' #### #### # ### ### ### # ### ' + ' # # # # ## # # # # # ' + ' # # #### # #### #### # # # ' + ' # # # # # # # # # # # # ' + ' #### #### ### ### ### ### # ### ') + +msg = msg.replace('#', '0') +msg = msg.replace(' ', '1') +num = int(msg, 2) +print(num)