Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemdro.id

3 replies

import inspect, builtins

def HelloWorld(funcname):
    caller = inspect.currentframe().f_code.co_name
    getattr(builtins, funcname)(caller)

HelloWorld("print")
16

It took my brain way longer than I want to admit to figure out, what is wrong with that line... I gues my brain just autocorrected it for me without me even knowing.

10

You reached the end

Programmer meme | Spyke