cloudchamber's blog

Drawing AmongUs Character with python in console!!

TL;DR

print(chr(sum(range(ord(min(str(not())))))))

And Why?

  1. not()
    not is logical operator in python and not() means not () empty tuple is Falsy value so not () means True

  2. str(not())
    because not() is True, str(not()) is 'True'

  3. min(str(not()))
    in string 'True' the lowest ascii character is 'T'

  4. ord(min(str(not())))
    'T' is 84 in ascii number

  5. range(ord(min(str(not()))))
    range(84) means range(0, 84)

  6. sum(range(ord(min(str(not())))))
    total sum of 0...84 is 3486

  7. chr(sum(range(ord(min(str(not()))))))
    chr(3486) means Sinhala Letter Kantaja Naasikyaya
    it looks like among us character ;)

  8. print(chr(sum(range(ord(min(str(not())))))))
    print it, and we make it!