Python That Runs C++ Code
from iostream import * def main(): cout << "Hello"; return 0; main(); $ python Stream.py Hello $
A programmer runs a Python file containing C++-style code, including iostream, cout, and return 0, yet it prints “Hello” successfully. The joke is the absurd mismatch between the language and syntax, making it a reaction to inexplicable code that somehow works.
- @ithueti / 10841 2023-11-09
- Type
- image
- Size
- 790×800 · 35.4 KiB
- Mood
- absurd
- Language
- en
- Added