Comment

Comment by olefoo

    s = '416D65726963612043616E20436F646520'

    def decoder(s):
        cl = [ s[i]+s[i+1] for i in range(0,len(s),2)]
        cl = [int(c,16) for c in cl]
        f = "".join([chr(c) for c in cl])
        return f

    decoder(s)
returns 'America Can Code '
parent olefoo 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton