0

is C mother of Python ?

someone said me : print("hello world") if you run above line in python interpreter their are 4 lines of C running in background #include <stdio.h> void main(){ printf("hello world") ; } is this True 🙄 if yes then how? if not then how python prints it ?

30th Jan 2021, 7:36 PM
Ratnapal Shende
Ratnapal Shende - avatar
1 Respuesta
+ 1
that's not as simplest as it sounds, but roughly, python interpreter is wrote in c/c++ so the short answer is true. But that's not a basic conversion: under the hood, the python interpreter read the (precompiled) source code and execute it... you could say that's c/c++ running, but your source code is python ;P
30th Jan 2021, 8:18 PM
visph
visph - avatar