Answers for "python faster than c++"

0

how to make python faster than c++

x=0
while x!=1000000:
    x+=1
    print(x)
Posted by: Guest on January-12-2022
0

why is c++ faster than python

C/C++ is relatively fast as compared to Python because when you run 
the Python script, its interpreter will interpret the script 
line by line and generate output but in C, the compiler will first compile it 
and generate an output which is optimized with respect to the hardware and OS.
Posted by: Guest on March-23-2021

Code answers related to "python faster than c++"

Python Answers by Framework

Browse Popular Code Answers by Language