What is difference between python and c ++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

What is difference between python and c ++

I am new to c++

6th Dec 2019, 12:55 PM
Nature's Friend
Nature's Friend - avatar
17 Answers
+ 14
Python is an interpreted language that requires no compilation and runs slower on computers while C++ is a compiled language that runs fast on several computers.
6th Dec 2019, 1:24 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 9
First go and start to learn them then you will get your answer.
6th Dec 2019, 1:06 PM
A͢J
A͢J - avatar
+ 8
The only similarity is that they both are programming languages so they sare a bit of same traits. Rest everything is different.
6th Dec 2019, 1:24 PM
Arsenic
Arsenic - avatar
+ 6
Syntax is one difference. Python is newer but used more widely than C++. Python has many more libraries than C++.
8th Dec 2019, 12:48 PM
Sonic
Sonic - avatar
+ 5
8th Dec 2019, 12:45 PM
Sonic
Sonic - avatar
+ 5
Peter Koinange your links are not relevant to the question.
8th Dec 2019, 12:46 PM
Sonic
Sonic - avatar
+ 4
syntax
6th Dec 2019, 5:31 PM
Erik Darko
Erik Darko - avatar
+ 4
Python is a general purpose and one of the high-level programming languages. A variable can be used directly without its declaration while writing code in python. ... C++ is also called an intermediate-level programming language as it is developed using both low-level and high-level language features.
6th Dec 2019, 6:42 PM
Arafat Hossain Ar
Arafat Hossain Ar - avatar
+ 2
Experience in the field really helps alot, learn the languages and this will help you figure it out...
7th Dec 2019, 7:44 PM
Alfred Juma
Alfred Juma - avatar
+ 2
I don't think so.
8th Dec 2019, 12:48 PM
Jayrald G. Holgado
Jayrald  G. Holgado - avatar
11th Dec 2019, 4:36 PM
sujay simha
sujay simha - avatar
+ 1
You have to get used to semicolons, braces, type declaration and pointers and more.
8th Dec 2019, 4:38 AM
Alice
Alice - avatar
0
Lol they are two diiferent languages 😃
6th Dec 2019, 11:00 PM
iamvinci
iamvinci - avatar
0
Adding to other answers, c++ is a strongly typed programming language. While python is loosely-typed programming language. In strongly typed language variable should be given a datatype first and while on the otherhand loosly dont need datatype while declaring.
8th Dec 2019, 6:18 AM
Rohit Kh
Rohit Kh - avatar
0
C++ is somehow more complicated than python, I am learning c++ as a beginner, I have a little knowledge about python but I think it is easier.
8th Dec 2019, 10:24 AM
Mohammad Zaiter
Mohammad Zaiter - avatar
0
It is basically the difference between English and Japanese. There is different syntax in C++. In C++, you have to say what the data type is when creating a basic variable. In Python, you don’t have to say the data type. Python just knows what the data type is by the value you give it.
10th Dec 2019, 10:47 PM
CoderTutorialsAndProjects
CoderTutorialsAndProjects - avatar
- 1
Can we update c++ programming?
8th Dec 2019, 5:27 AM
Nihal Nhp
Nihal Nhp - avatar