C Vs Python Update
C Vs Python Update
Programming languages
what is programming language
Programming language is a
way for programmers
(developers) to communicate
with computers.
history of programming language
C PYTHON
EXAMPLE:
EXAMPLE:
Int 12;
no = 1
float 4.9;
flt= 5.9
char “SARAN”;
letter = 'A'
execution
C PYTHON
C is a compiled Python is an
language, meaning interpreted
the code is language, meaning
translated directly the code is executed
into machine code line-by-line by an
by a compiler before interpreter.
execution.
SYNTAX
PYTHON
C
EXAMPLE:
EXAMPLE:
#include <stdio.h>
int main() {
print("Hello, World!")
printf("Hello, World!\n");
return 0;
}