How Python's Different
Comparison with other languages
Syntactical Simplicity
Here's some C code
Compared to languages like C
Python does not have semicolons
Wait...what? Then how come it knows where statements end?
Whitespaces
Python instead uses whitespaces Every line a ter a colon !"# must have a ta$. i %&'"
print ()es*
The while loop
n+% while n & ,"
print n n + n-.
print '/lasto 0'
or loop
1t's easier to use. 2or e3ample4 let's print . to .,, or i in range !.,.#"
print i
Python has
Strict synta34 $etter reada$ility Compact and simple code: Python code is typically '-% times shorter than e5uivalent 6ava code4 it is o ten %-., times shorter than e5uivalent C77 code
Target Users
Python is an interpreted language that came rom the 891: scripting World 1t's now evolved into a general purpose language4 much like 6ava and C77 ;ost we$ services use Python as a glue language to inter ace we$ gateways
In Addition to General programming python is very !sef!l as an engineering lang!age" ;ost o the research going on these days uses python or computing E3. /ig <ata4 Statistics4 Simulations
Python has many li#raries availa#le for specific tas$s 9umPy!Computing#4 Py=ame!=ames#4 Tkinter!=81#4 ;atplotli$!=raphing#4 SciPy!Scienti ic#4 <>ango !We$# >ust to mention a ew