Introduction
Python and C++ are general-purpose programming
language. However, Python is quite different from C++.
PYTHON
1 Python is typically an
"interpreted" language
2 Python is a dynamic-typed language
3 Data type is not required while declaring
variable
4 It can act both as scripting and general
purpose language
C++
1. C++ is typically a "compiled"
language
2. C++ is compiled statically typed language
3. Data type is required while declaring
variable
4. It is a general purpose language
Yet these two languages complement one another
perfectly. Python is mostly used as a scripting or "glue", language.
That is, the top level program mostly calls routines written in C or C++. This
is useful when the logic can be written in terms of existing code (For example
a program written in C++) but can be called and manipulated through Python
program.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.