r/AskProgramming • u/XaX1000 • Sep 28 '26
cursed python hello world
Is there any way to make this code wok in python?
"hello"(print)
This is just a joke and i do not care how cursed of a setup this requires.
0
Upvotes
View all comments
10
u/AuthurAndersson Sep 28 '26
pip install forbiddenfruit
from forbiddenfruit import curse
curse(str, "__call__", lambda self, func: func(self))
"hello"(print)