
explore how python uses variables as memory containers that hold values, allows dynamic typing without declaration, and automatically changes data types when you reassign different values, using type() and print.
Learn rules for naming Python variables: start with a letter or underscore and avoid digits, spaces, or special characters. Avoid reserved keywords, case sensitivity, and use underscores for multiword names.
Understand local and global variable scope in Python. Local variables stay inside functions, globals are available everywhere, and a local name hides a global one when they share same name.
Explore how global and local variables share names, how local scope overrides globals, and how the global keyword enables a local variable to modify a global value in Python.
Explore type casting in Python, distinguishing implicit conversions from explicit ones. See how int, float, str, and bool convert values, and how empty versus non-empty data affect results.
Explore Python input and output by using print and input functions, format strings with placeholders, and print formatting techniques, including comma vs plus, and splitting input for multiple values.
Learn to create Python strings with single, double, and triple quotes, including multi-line and docstrings. Discover that strings are immutable and print-ready, accessible forward or backward.
Explore string modifiers in Python for beginners, including upper, lower, capitalize, strip, format, replace, find, index, and checks like is upper, is lower, is alpha, is digit, and is alphanumeric.
Learn how to concatenate strings in Python using plus, comma, space, percentage operator, join, dot join, and format methods, with practical examples using A as Hello and B as world.
Learn how to use the Python escape (backslash) character to include quotes, newlines, tabs, and other special characters in strings, avoiding syntax errors and printing complex outputs.
Explore Python arithmetic operators—addition, subtraction, multiplication, division, modulus, and exponentiation—along with operator precedence and parentheses, plus examples including bitwise, comparison, identity, membership, and logical operators.
Explore assignment operators in python, including equals, plus equals, minus equals, multiply equals, divide equals, mod equals, flow divide equals, and exponent equals, with examples using A=10 and B=4.
Master Python comparison operators that yield true or false. Apply greater than, less than, equals, not equals, greater or equal, and less or equal to numbers, strings, lists, and tuples.
Explore how identity operators in Python compare objects using is and is not, print memory addresses with id, and distinguish between value equality and object identity.
Explore how if statements in Python evaluate conditions, execute blocks when true, and skip when false, with emphasis on indentation and standalone if usage.
Learn how to use while loops in Python to repeat statements until a condition is false, including break and continue, optional else blocks, and a practical 1–9 example.
Explore Python for loops that execute blocks of statements repeatedly, iterating over strings, tuples, lists, sets, and dictionaries, with range, break, continue, and optional else blocks.
Master Python's range function with start, stop, and step parameters to iterate over sequences. Learn to combine range with the length function to handle dynamic list lengths.
Explore Python lists, a mutable part of sequential data that stores elements of mixed types in square brackets and supports zero-based indexing with forward and backward access.
Learn how to add items to Python lists using insert, append, and extend, with examples showing index-based insertion, end appending, and extending with lists, tuples, or strings.
Explore how to modify list elements in python by index and slice, including single element replacement, multi-element substitution with start and end indices, and handling deletions or additions.
Learn how to remove elements from a Python list using remove and pop, including first occurrence deletion, value error if not found, index-based deletion, and popping the last item.
Learn to copy a Python list without sharing memory addresses, using slicing (colon), start:end with the length function, and the list constructor, and understand the impact of shared references.
Learn the difference between shallow and deep copy in Python lists, why shallow copy shares inner references, and how deep copy creates independent, fully new list structures.
The lecture demonstrates iterating through a list in Python using for and while loops, using range to control iteration, printing elements and indices, and slicing lists.
Explore list comprehension in Python to create a new list from an existing one by filtering items, such as numbers divisible by two, reducing code from several lines to one.
Explore Python tuples as immutable, ordered sequences that can hold mixed data types, support indexing and duplicates, and require at least two elements to be recognized as a tuple.
Explore how to index Python tuples using forward (starting at 0) and backward (starting at -1) indices, handle errors for out-of-range indices, and access nested tuples with nested indexing.
Explore tuple slicing in Python for beginners by using start and end indices to extract sublists, including forward and backward indexing with negative indices.
Learn how to delete elements from a tuple in Python: tuples are immutable, so convert tuple to a list, delete elements, then convert back, or delete the tuple with del.
Explore Python sets, an unordered collection that cannot be indexed or contain duplicates; learn how to add or delete elements, initialize with curly braces, and check type and length.
Learn how to add elements to a set using add and update, and copy one set into another, while duplicates are avoided and multiple datatypes are supported.
Iterate through set elements using for or while loops, printing values that can appear in any order, and test membership with in and not in on a sample set.
Explore the basics of file handling in Python, including opening files, reading, writing, and appending data, with text and binary modes and practical examples.
Learn to write and append data to files in Python, including create-if-missing behavior, write mode overwriting, append mode preserving existing data, and reading back to verify content.
Learn the basics of Python functions, including system defined and user defined functions, parameters, and the return keyword, with examples such as abs and adding three numbers.
Define functions in Python with the def keyword, a name, parentheses, and a colon. Call functions with or without parameters, print results, and use return for values.
Learn the rules for naming functions in Python: keep names short and lowercase. Use underscores or camelCase for names, avoid special characters and keywords, and don't start with a digit.
Learn how to define functions with or without arguments, pass parameters (N1, N2, N3) to sum numbers, return the result, and handle errors for missing or extra arguments.
Learn how to pass function arguments by keyword, so order doesn’t matter and values map by parameter names, as shown with a three-parameter function that adds and subtracts numbers.
Learn how to use kwargs to accept any number of keyword arguments in Python, capture them with ** before the parameter name, and access keys by name in the function.
Learn how Python dictionaries are mutable and how to add or modify key value pairs, using update for bulk changes and validating with prints.
The Python basics course is designed to get a deep dive into the Python basic Concepts.
This course is for beginners who would like to learn and enhance their knowledge about Python.
The course consists of theoretical and practical concepts in Python.
This course is completely practical oriented where most of the development scenarios are captured.
If you have a desire to understand and learn Python which is the valuable and in demand skills, then I invite you to join me on this Udemy Learning course. Come on, let's learn together, build new skills, and make a difference in the world. Hope to see you in the course.
The below is the course description.
Description:
Python Basics:
Comments
Variables
Rules for Variable Declaration
Scope Of Variables
Global Keyword
Type Casting
Input & Output
Strings in Python:
Introduction to Strings
String Arrays
String Slicing
String Modifiers
String Concatenation
String Formatting
Operators in Python:
Arithmetic Operators
Logical / Boolean Operators
Membership Operators
Assignment Operators
Comparison Operators
Identity Operators
Loops in Python:
If Statement
If Else statement
If-Elif-Else Statement
While Loops
For Loops
For Loops with Range Function
Lists in Python:
Introduction to List
List Indexing
Slicing of List elements
Add List Items
Modify List Elements
List Copy
Iterating Through a List
List comprehension
Tuples in Python:
Introduction to Tuple
Tuple Indexing
Slicing Tuple elements
Tuple Update
Iterating Through a Tuple
Sets in Python:
Introduction to Set
Add & Copy Set Elements
Iterating Through a Set
File Handling in Python:
Introduction to File Handling
Reading a File
Writing & Appending data to a File
Deleting a File/Directory
Functions in Python:
Introduction to Functions
Creating a Function
Rules for naming Functions
Function Arguments
Keyword as Function Arguments
Function Arguments (*args)
Function Arguments (**kwargs)
Function Default Parameters
Dictionary in Python:
Introduction to Dictionary
Accessing Dictionary Elements
Adding and Modifying a Dictionary
Remove Dictionary Elements
Iterating through a Dictionary
Oops Concept in Python:
Introduction to Classes & Objects
Inheritance