This was Session 2 of a Python training course titled
"Python(NewBatch)-18/Feb@8AM___7PM___IST" with 12 speakers.
Key topics covered:
Setup & Tools:
o Instructor (NAGAA) demonstrated Python IDLE setup and configuration
(increasing font size, etc.)
o Students can use either Python IDLE locally or Google Colab - both are
acceptable
o Colab automatically uses the latest Python version (3.6+)
Main Concepts Taught:
4. Print Function - First Python "alphabet"/function learned
Used to display output on screen
Can use single or double quotes (must match on both sides)
Special characters: \n for new line, \t for tab space
Examples shown for formatting output with stars and tabs
5. Variables - Major topic of the session
Store temporary values in RAM
Python uses dynamic memory allocation (no need to declare data
types beforehand)
Python Virtual Machine (PVM) manages variables in an index table
with variable names and memory addresses
6. Built-in Functions Introduced:
print() - displays output
id() - shows memory address of variable
type() - shows data type of variable
help() - provides information (briefly mentioned)
7. Variable Naming Rules (Identifiers):
Must use only A-Z, a-z, 0-9, and underscore
Cannot start with a digit
Case sensitive (a ≠ A)
Cannot use 35 reserved keywords
Should be short and meaningful
8. Assignment Operator (=):
Evaluates right side expression first
Stores result in left side variable
Example: B = 20 + 5 stores 25 in B
The instructor emphasized Python is a case-sensitive language and
demonstrated these concepts using both Python IDLE and Google Colab.
This was a Python training session (Session 3) focused on variables, print functions, and
data types. Here are the key points:
Main Topics Covered:
1. Variables and Memory: The instructor explained how variables work in
Python - they're stored in RAM with address locations, managed by Python
Virtual Machine (PVM), and tracked in an index table.
2. Print Function Methods: The session covered multiple ways to print
variables and strings:
Basic printing with print(variable_name)
Combining strings and variables using commas as separators
Format specifiers (f-strings) - the recommended approach using
f"text {variable}" syntax with curly braces
3. Important Functions:
print() - displays output
id() - shows memory address of variable
type() - shows data type
help() - provides documentation
4. Special Characters:
\n for new line
\t for tab space
Must be used within quotes
5. Python Data Types: The instructor introduced 14 built-in data types that
will be covered in detail over the next 20 days:
int, float, Boolean, Complex, None
range, list, tuple, set, frozen set
dict, string
bytes and byte array
6. Practical Exercise: Students practiced printing multiple mathematical
operations (sum, difference, product) using variables in a single print
statement.
Next Steps: No sessions on weekends. A new permanent Zoom link will be shared from
Monday when detailed coverage of data types begins, starting with integers.