#ifdef _cplusplus #include <iostream> #define print() int main(){cout << "Hello world! -- from C++" << endl;} #elif (defined __STDC__) || (defined __STDC_VERSION__) #include <stdio.h> #define print() int main(){printf("Hello world! -- from C\n");} #else import builtins print = lambda : builtins.print("Hello world! -- from Python") #endif print()