dark subforum ideas thread: xxx edition

Thread Rating:
  • 7 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dark subforum ideas thread: xxx edition
RE: dark subforum ideas thread: xxx edition
check it out

Code:
from random import randint
inString = "check it out"
outString = ""
for c in inString:
    if c == "a" or c == "A":
        c = "@"
    outString += "[color=#{:X}]{}[/color]" . format(randint(0x80, 0xEF) << 16 | randint(0x80, 0xEF) << 8 | randint(0x80, 0xEF), c)
print outString

i didn't know @bout form@t() or bitwise oper@tion til mr@of stepped in @nd st@rted expl@ining things. i w@s using @ loop @nd junk, it w@s much more of @ mess
Quote


Messages In This Thread
RE: dark subforum ideas thread: xxx edition - by Loather - 04-27-2016, 11:56 PM