Add comments to a Python script and make it a bilingual Python/C++ “program” Given the following Python 3 script:

def greet():
    print("Hello, world!")

greet()


Prepend some lines to this text file so that it can be both executed as a Python program as well as compiled and run as a C++ program producing the same output Hello, world! (including the newline at the end):

$ python3 bilingual.py.cpp
Hello, world!
$ g++ bilingual.py.cpp &amp;&amp; ./a.out
Hello, world!


The solution will be scored by the count of non-whitespace characters of the entire program, including the Python script:

sed 's/\s//g' bilingual.py.cpp|wc -c
Score 119
(Thx @Linus for the byte count)
(1 byte saved thx @Conor O'Brien)
(1 byte saved thx @PieCot)
Counting bytes again by hand, I found 113. Maybe it's right this time. No it's not
#include &lt;cstdio&gt;
#define def main(){0?
#define print(x) puts(x);}
#define greet()

Notes: stdio and puts are still alive and kicking in C++. The missing int type is valid in C++ 4. Test