Ad
Code
Diff
  • magick_message=l=>l?'abracadabra!':'codewarz'
    • export const magick_message=(l:boolean)=>l?'abracadabra!':'codewarz'
    • magick_message=l=>l?'abracadabra!':'codewarz'
Code
Diff
  • export const magick_message=(l:boolean)=>l?'abracadabra!':'codewarz'
    • exec(f"{[].__doc__[26]}{dict.__doc__[15] }{type(1.0).__name__[3]}{globals.__name__[0]}{type(1).__name__[0]}{str(print.__module__.__class__)[1]}{().__class__.__subclasses__()[2].__name__[13]}_{dict.__doc__[15] }{type({None}).__name__[1]}{str.__name__[0]}{str.__name__[0]}{type(1.0).__name__[3]}{globals.__name__[0]}{type({None}).__name__[1]}={type(1.0).__name__[1]}{type(1.0).__name__[3]}{dict.__doc__[15] }{type(True).__name__[0]}{ZeroDivisionError.__doc__[21]}{type(1.0).__name__[3]} {type(1).__name__[0]}:{type(1).__name__[0]}*'{type(1.0).__name__[3]}{type(True).__name__[0]}{().__class__.__bases__[0].__subclasses__()[40].__name__[-1]}{type(1.0).__name__[3]}{str(print.__module__.__class__)[1]}{type(1.0).__name__[3]}{ZeroDivisionError.__doc__[21]}{type(1.0).__name__[3]}{type(True).__name__[0]}{().__class__.__bases__[0].__subclasses__()[40].__name__[-1]}{type(1.0).__name__[3]}!'{type(1.0).__name__[2]}{().__class__.__bases__[0].__subclasses__()[40].__name__[-1]}'{str(print.__module__.__class__)[1]}{type(1.0).__name__[2]}{ZeroDivisionError.__doc__[21]}{type({None}).__name__[1]}{chr(119)}{type(1.0).__name__[3]}{().__class__.__bases__[0].__subclasses__()[40].__name__[-1]}{list(zip(enumerate(str.__dict__)))[63][0][1][0]}'{[].__doc__[26]}")
    • export const magick_message=(l:boolean)=>l?'abracadabra!':'codewarz'
Code
Diff
  • #magick_message=lambda i:i and'abracadabra!'or'codewarz'
    magick_message =lambda i:['codewarz','abracadabra!'][i]
    #             ^
    # golfed except this space
    • magick_message=lambda i:'abracadabra!'if i else'codewarz'
    • #magick_message=lambda i:i and'abracadabra!'or'codewarz'
    • magick_message =lambda i:['codewarz','abracadabra!'][i]
    • # ^
    • # golfed except this space
Code
Diff
  • magick_message=lambda i:'abracadabra!'if i else'codewarz'
    • magick_message = lambda i: 'abracadabra!' if i else 'codewarz'
    • magick_message=lambda i:'abracadabra!'if i else'codewarz'
Code
Diff
  • reverse_word = lambda a: a[::-1]
    • a='run'
    • print(a[::-1])
    • reverse_word = lambda a: a[::-1]