Looks like no one added any tags here yet for you.
Python
A popular programming language, released in 1991.
The use of Python
Web development (server-side), Software development, Mathematics and System scripting.
The creator of Python
Guido van Rossum
Integrated Development Environment (IDE)
Allows common activities of writing software and identify programming errors.
Syntax Errors
Refers to the structure of a program and the rules about that structure.
Runtime Errors
Also called exceptions, usually indicate that something exceptional (and bad) has happened.
Logic Errors
Code will run successfully but the output is not expected.
Indentation
The spaces at the beginning of a code line to indicate a block of code and must be at least one.
Comment and Documentation strings
Use for the purpose of in-code documentation.
Comments
Start with #
Documentation string or docstring
Statements that is included within the triple quote """.
Comment
#This is a message
Documentation
“““
This is a message
“““
Reserved words
Have predefined meaning and syntax in the language.
Variables
The containers for storing data values.
Variables name
must start with a letter or underscore.
can only contain alpha-numeric characters and underscores
case- sensitive
cannot use keywords
Text Type
str
Numeric Type
int, float, complex
Boolean Type
bool
Sequence type
list, tuple, range
Set type
set
Binary type
bytes, bytearray
, memoryview
int
45
float
45.0
str
“hello”
complex
1j
complex
1+9j
complex
9j+5
list
[23,42,54,”hello”]
tuple
(23,43,54,”hello”)
tuple((23,43,56))
tuple
list((9,4,3,2,6))
list
Arithmetic Operator
+, - , * , / …
Addition
+
Subtraction
-
Multiplication
*
Division
/
Modulus
%
Exponent
**
Floor division
//
Relational Operator
>,<,==,<=,>= …
More than
>
Less than
<
Equal
==
Not Equal
!=
More than or equal to
>=
Less than or equal to
<=
Logical Operator
not, and, or …
not
not True
and
True = True + True
False = True +False
False = False + False
or
True = True + True
True = True + False
False = False + False
input() function
Ask input from the user
print() function
Displays the output and jump to the next line.