Posts /

Learn python

Twitter Facebook Google+
24 Dec 2019

Python

A useful language that is easy to start for beginners. Simple syntax with flexible naming rules.

Python vs C++

1.Garbage collection

Python supports garbage collection while C++ does not support

2.Usage

Python has a simpler syntax and grammar rules. Easier to write code

3.Compilation

Python runs through interpreter while C++ is pre-compiled

4.Scope of variables

Python’s variables are accessible outside loops, while C++ is limited to loops

5.Nature

Python is dynamically typed language, while C++ is statically typed