1. PYTHON
Re
visio
n T
o
ur
-1
Lite
rals String
Numeric
Boolean
None
TOKENS
1. Identifiers
2. Keywords
3. Literals
4. Punctuators
5. Operators
Numeric
Sequence Type
Boolean
Set
Dictionary
Statements
1. Conditional statement
2. Loop statement
3. Print statement
4. Assignment statement
5. Import statement
Data structures
1. Lists : creating,indexing,slicing,
modifying
2. Tuples: creating,indexing,slicing,DatA Types
immutability
3.. Dictionary: creating, accessing,
updating
........
-Aryan
2. PYTHON
Python is a computer programming
language often used to build
websites and software, automate
tasks, and conduct data analysis.
Dictionaries
In Python, dictionaries
are mutable data
structures that allow you
to store key-value pairs.
Dictionary can be
created using the dict()
constructor or curly
braces' {}'
Lists
Lists are used to store
multiple items in a single
variable. Lists are one of
4 built-in data types in
Python used to store
collections of data
............
Strings
A string is a
sequence of
characters and can
contain letters,
numbers, symbols
and even spaces. It
must be enclosed in
quotation marks for
it to be recognized
as a string
Tuples
Python Tuple is a
collection of objects
separated by
commas. In some
ways, a tuple is
similar to a Python
list in terms of
indexing, nested
objects, and
repetition