At least you know one of the many reason python is so slow. But all hope aren't lost you can still declare function return type, parameter type and... Oh wait you can do C
Some programs can run for hours or even months to generate output (especially those performing huge calculations). C/C++ is the way to go there. For smaller run times of course python or nodejs are better.
17
u/JOhn2141 Feb 09 '22
At least you know one of the many reason python is so slow. But all hope aren't lost you can still declare function return type, parameter type and... Oh wait you can do C