Python vs C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Python vs C++

Hi everybody, I'm learning C++ because I started learning programming with Arduino, which uses a pseudo-C++/C language, so I already know the basics of C++. Do you recommend learning Python? I've heard it's both easier to learn and more useful. And why is SoloLearn's course called Python 3?

12th May 2019, 11:00 PM
Jesse
Jesse - avatar
3 Answers
+ 1
Python is easier than c++ and useful too! Your choice is depend on what you want to do. There is many versions of Python, python 2.x, python 3.x,... Python 3 is 3.0 or above
12th May 2019, 11:59 PM
LetterC67
LetterC67 - avatar
+ 1
rajesh kumar Why not recommend free online tutorials? Even Arduino community produced really good ones for Python programmers E.g. https://playground.arduino.cc/Interfacing/Python/ Despite that, I think C is still preferred over Python if you want to program your Arduino because interpreting Python to machine code will take up too much of precious memory in most an Arduino boards https://arduino.stackexchange.com/questions/105/programming-an-arduino-using-python-rather-than-c-c And https://arduino.stackexchange.com/questions/52595/arduino-and-python
13th May 2019, 6:05 AM
ArisV
ArisV - avatar
0
1st question, not enough info (e.g. what do you need to program in Arduino? How comfortable are you with C++? etc.) 2nd question, Because there were only 2 flavors of Python, Python2 & Python3, whose syntax and functionalities differ moderately. However, Python2 will no longer be supported by the Python Software Foundation by 2020. So, I guess SoloLearn wants to teach the flavor that may last longer, aka Python3.
13th May 2019, 1:10 AM
ArisV
ArisV - avatar