Save
Python
Save
Share
Learn
Content
Leaderboard
Learn
Created by
sab
Visit profile
Cards (13)
Python
A popular programming language created by Guido van
Rossum
and released in
1991
What Python is used for
Web
development (server-side)
Software
development
Mathematics
System
scripting
What Python can do
Create
web
applications on a server
Create
workflows
alongside software
Connect to
database
systems
and
read
/
modify
files
Handle
big
data
and perform
complex
mathematics
Rapid
prototyping
or production-ready
software
development
Why Python
Works on different
platforms
(Windows, Mac, Linux, Raspberry Pi, etc)
Has a simple
syntax
similar to the English
language
Has
syntax
that allows developers to write programs with fewer
lines
than some other programming languages
Runs on an
interpreter
system, allowing for quick
prototyping
Can be treated in a
procedural
,
object-oriented
or functional way
Python can be written in
A
text editor
or an
Integrated Development Environment
(IDE) such as Thonny, Pycharm, Netbeans or Eclipse
Python syntax compared to other programming languages
Designed for
readability
, with similarities to English and
mathematics
Uses new
lines
to complete a
command
, rather than semicolons or parentheses
Relies on indentation using
whitespace
to define scope, rather than
curly-brackets
Python Operators
Arithmetic
operators
Assignment
operators
Comparison
operators
Logical
operators
Identity
operators
Membership
operators
Bitwise
operators
Arithmetic operators
Used with
numeric values
to perform common mathematical operations
Assignment operators
Used to assign
values
to
variables
Comparison operators
Used to compare
two
values
Logical operators
Used to combine
conditional
statements
Logical operators
and
or
not
The
precedence
order of Python operators is described in the
table
, starting with the highest precedence at the top