Ad
  • Custom User Avatar
  • Default User Avatar
  • Custom User Avatar

    Use fork to post another solution instead of using discourse. Discourse comments can't be marked as spoilers in Kumites.

  • Default User Avatar
  • Default User Avatar

    Updated d to be: ZeroDivisionError.__doc__[21] since it didn't work with codewars for some reason

  • Default User Avatar

    here we go:

    a = (monkey := type(1.0).__name__)[3]
    b = type(True).__name__[0]
    c = str(print.__module__.__class__)[1]
    d = __builtins__.__dict__['copyright']._Printer__data[44] # this one's my favorite
    e = type({None}).__name__[1]
    f = monkey[0]
    g = __builtins__.globals.__name__[0]
    h = str(__annotations__.__class_getitem__.__hash__)[22]
    i = type(1).__name__[0]
    j = str(complex(1, 2))[4]
    k = ().__class__.__subclasses__()[2].__name__[13]
    l = monkey[1]
    m = getattr(dict, "__doc__")[15] 
    n = type(1).__name__[1]
    o = monkey[2]
    p = (None,).__class__.__name__[2] 
    q = list(zip(enumerate((None,).__class__.__subclasses__().__class__.__dict__.keys())))[6][0][1][3] # wtf
    r = ().__class__.__bases__[0].__subclasses__()[40].__name__[-1]
    s = type("").__name__[0]
    t = type('', (), {}).__bases__[0].__name__[-1]
    u = (None,).__class__.__name__[1]
    v = property.__doc__[77] # this one was easier than i thought it'd be
    w = ().__class__.__bases__[0].__subclasses__()[47].__name__[-1] # memoryview
    x = list(zip(enumerate(type(().__class__.__subclasses__()).__dict__)))[28][0][1][1] # it happened again
    y=getattr(dict, "__doc__")[18] 
    z = list(zip(enumerate(str.__dict__)))[63][0][1][0]
    alpha=""
    for k in vars():
        if (__import__('re').search(r'^[a-z]$', k)):
            alpha += vars()[k]
    
  • Default User Avatar

    Got base_repr:

    # base_repr
    b = type(True).__name__[0]
    a = type(1.0).__name__[3]
    s = type("").__name__[0]
    e = type({None}).__name__[1]
    underscore = getattr(int, '__doc__')[157]
    r = ().__class__.__bases__[0].__subclasses__()[40].__name__[-1]
    # epr already defined
    print(b + 
          a +
          s + 
          e +
          underscore + 
          r + 
          e + 
          p +
          r
    )
    

    And I did t too for some reason:
    t = type('', (), {}).__bases__[0].__name__[-1]

  • Default User Avatar
    n = type(1).__name__[1]
    u = (None, None).__class__.__name__[1]
    m=getattr(dict, "__doc__")[15] 
    p = (None, None).__class__.__name__[2]
    y=getattr(dict, "__doc__")[18] 
    print(
        n +
        u +
        m +
        p +
        y
        )
    

    I'm doing this by hand but this should be possible

  • Default User Avatar

    with random numbers, the chance of me finding the right seed is about 1 in 10^6000, so that's probably not going to happen

  • Default User Avatar

    Something like This? I'll work on it tomorrow haha

  • Default User Avatar

    next is to make something to make the numbers overly complicated

  • Default User Avatar

    i saw this and thought "hmm"

  • Default User Avatar

    check this out:

  • Custom User Avatar

    Please refer to the above issues

  • Default User Avatar
  • Loading more items...