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
1
u/MikeUsesNotion Sep 28 '26
I don't remember in python if you can override ( ) as an operator, but if you can I would think you'd just monkeypatch the str class.