Saturday 29 June 2019

Difference between C and Python

Difference between C and Python


C and Python are general purpose computer programming language. Python is generally preferred for server side scripting. Some of the key difference between C and Python are given below:

Table: Difference between C and Python

C Language
Python Language

Designed by Dennis Richie

Product from Python Software Foundation
C programs are faster but coding is complex and long

Coding is easier and short in Python
C requires type declaration

Python does not require type declaration
C supports in line assignment

Python does not support in line assignment
Data type of a variable must be specified at the time of declaration of variable.

Specifying data type of a variable is not needed while declaring variable.


No comments:

Post a Comment