
Let's get started with coding in VS Code. VS code is a coding IDE (Integrated Development Environment) which means you can develop an entire application in it. It's pretty efficient because of embeded Terminal, vast exntensions and the UI. I use it to code all my projects. The other choices can be Pycharm, IDLE or simply notepad.
The Description how Print function works in Python.
Explore Python string formatting with the format function, placing values inside braces for printing and evaluating expressions like two multiplied by two as four.
Discover how Python's dynamic typing lets you store data in variables without explicit types, and assign numbers, booleans, and strings to perform operations like multiplication.
Basic Arithmetic Operators in Python. Two special Operators.
Explore how Python handles floats, revealing binary representation limits, surprising outputs like 0.1, and how decimal packages can achieve precise answers.
What are Booleans? What kind of values do they store? How to use them?
Identify common Python errors, such as forgetting to close a parenthesis or end-of-line issues, and learn how inline comments and triple-quoted docstrings describe functions.
learn python type casting: convert between floats, integers, strings, and booleans with truncation, and discover how truthiness governs empty versus non-empty data like lists and strings.
Explore Python strings, including how to define them with single, double, and triple quotes, and how escape sequences let you include quotes and special characters.
Explore string indexing in Python, accessing characters with positive indices and negative indices such as minus one to minus five, and learn that strings are immutable.
Learn how to slice strings in Python using start and end indices; start is inclusive and end is exclusive. Use defaults to zero or to the string length.
Explore advanced string slicing in Python, using start, stop, and step to control selection, reverse strings with negative steps, and understand optional values in slicing.
Learn to manipulate strings with functions like lowercase and capitalize, and use index to locate leftmost and rightmost positions, with -1 returned when not found.
Explore Python string functions that detect data types inside a string, including is numeric, is upper, is alphanumeric, and is alpha, and verify uppercase or lowercase compliance.
Extract the last name from a full name using string slicing and the index of space. Capture user input, and compute first and last names dynamically with the space index.
Learn to extract components from an email address in Python using index-based slicing and separators. Store results in variables and print dynamic outputs.
Learn how Python uses the input function to read command-line input, store values in variables, and convert strings to integers with type casting, including age examples and basic error handling.
Use if-else statements with indentation to evaluate conditions and handle true or false branches. Convert user input to integers, check even numbers with modulo, and distinguish assignment from equality.
Learn how to combine multiple conditions in Python using and and or operators in if statements, including comparisons such as greater than zero.
Learn how to check if a string is a palindrome by reversing the input and comparing it to the original, with examples like race car.
Explore nested if-else statements in Python by validating email and password inputs to grant access to a secret code, highlighting constants, variables, and Python’s case sensitivity.
Learn how to use if-else statements and the modulo operator to check divisibility by five and by three, printing buzz or the number itself when no condition applies.
Explore efficient conditionals in Python by comparing values, using if-else logic, and mastering one-line conditionals for compact, readable code.
Learn python from basics to production by building an email validator, writing and storing each condition, checking for an @ symbol and length, and using variables to track indices.
The lecture demonstrates iterating on a python email validator, addressing substring errors, converting indexing to state, and handling invalid emails with control flow and exit logic.
Create a date checker that validates a user entered date by extracting day, month, and year from a string using slicing, type casting, and conditional logic to enforce valid ranges.
Explore how to use lists in Python to store multiple values in one place, including heterogeneous data types and nested lists, and print the list to see its contents.
Explore zero-based indexing on lists, using indices from zero to length minus one and negative indices to count from the end, including nested lists.
Explore list slicing in python by using start, end, and step to extract elements, such as the first five items. Reverse with a negative step and learn about optional parameters.
Explore how lists are mutable in Python, showing how you can replace, add, or change elements by index. Compare with strings, which are immutable, highlighting how lists differ in mutability.
Learn how the append function adds a value to the end of a list. See how pop removes the last element and returns it, even when the list becomes empty.
Explore the list insert function to add data at a chosen position, including at the beginning (index zero), and use remove to delete a value by its first occurrence.
Learn how copying lists in Python creates aliasing when both refer to the same memory, and how slicing or list casting creates true copies to avoid unintended changes.
Explore the difference between shallow copy and deep copy for lists, including slicing, especially with nested lists, and learn why deep copy prevents changes from affecting the original.
Learn to use split to convert csv strings into lists by delimiter, and join to fuse lists back into strings, with examples of comma and space separators.
Learn to calculate the average, minimum, and maximum of a list in Python by summing elements, dividing by the list length, and using min and max functions.
Compare the Python list.sort() and sorted() functions to sort data: sort mutates the original list in place, supports reverse for ascending or descending order, while sorted returns a new list.
Learn to build a simple rock paper scissors game in Python, where users set rounds, input choices, and the computer randomly picks moves using if conditions and indexing.
Learn how while loops repeat actions while a condition holds, with examples printing 1 to 100 and even numbers. Increment the counter and write concise, efficient looping code from zero.
Understand how Python's range function generates a sequence from start to end with an exclusive stop, and how converting it to a list reveals the generated values.
Explore for loop basics in Python by using the range function to print numbers from one to ten, including how to print even numbers with a start and step.
Explore sequences and for loops in Python by indexing lists and strings using range and for loops, printing elements and understanding positions and lengths.
Learn to collect five numbers with a loop, find the min and max, and compute their average in Python, with practical input handling and loop control.
Explore Python sequences and for loop concepts by building a list of user-entered names, iterating three times, converting each name to uppercase, and printing the results.
Explore list comprehensions in Python to replace loops, generating squares like 0, 1, 4, 9, 16, and build a list of even numbers from 0 to 10 multiplied by three.
Learn how to handle files in Python by using the open function to write and create text files, manage paths, and overwrite content.
Learn to read files with the open function in read mode, use read to obtain a string, print it, and interpret first line as a header for names and ages.
Learn how to read data from a file in Python by iterating lines with readline and readlines, handling headers and data, and converting lines into a list of strings.
Explore reading and processing data from a file by iterating over a list of strings, using unpacking and split to separate name and age, and removing newlines to clean input.
Resolve a file handling bug by cleaning data with slash checks, convert fields to integers, and store parsed records for analysis like finding minimum wage and most frequent values.
Store data read from a file as a list of name and value pairs, print the final data, and sort it using a lambda key to enable flexible data manipulation.
Learn how to append data into a file in Python, avoid overwriting existing content, and understand how write operations interact with file opening and closing.
Apply a pythonic file handling approach by using with open(filename, mode) as f to read data and automatically close files.
Learn to check file existence with the exists function before reading, preventing file not found errors, and use dynamic input for filenames in Python.
Compare real-world dictionaries to Python dictionaries to understand key-value pairs and how data is stored. Access values with data[key] and update them by assigning new values to a key.
Learn how dictionaries, or maps, provide constant-time lookups by key and how to add new values using a key-value pair inside curly braces.
Explore how the update function handles an existing key in a dictionary: passing the same key updates its value, showing dictionaries cannot contain duplicate keys.
Learn how to use dictionary functions in Python, including keys, values, and items, to retrieve keys, values, and key-value pairs, and convert them into lists for easy manipulation.
Learn to build a simple user system with a Python dictionary, creating new users and validating passwords for authentication. Explore name checks and authentication workflow.
Map user choices to functions using a dictionary to build a Python menu-driven program, execute the selected function, and handle missing keys gracefully.
Count character frequency in a string using a dictionary. Iterate through data, update each character's count, and use string.count() to fetch frequencies.
Explore dictionary comprehensions in Python by counting character occurrences in a string, building key-value pairs for each letter, and mapping a data stream to a dictionary.
Learn how functions group code into a single task, define with def, and call across files to reuse authentication logic and simplify updates.
Define a function to process data, pass values as arguments, and call it repeatedly; observe that parameters become local variables and you can pass multiple values to print the sum.
Learn how returning data from functions keeps code predictable by avoiding printing inside a function; use return values, store sums in a variable, and write single-task functions in Python.
Write a function that returns the sum of a number's digits by converting the number to a string and adding each digit. Then use the returned sum, optionally squared.
Explore returning data from functions in Python by manipulating strings, lists, tuples, and dictionaries, including stripping whitespace, squaring numbers, and unpacking results for easy access.
Learn how optional arguments in Python functions work, including default start and end values, using range with inclusive ends, and calling with keyword arguments to omit positional order.
Explore *args and **kwargs to pass any number of positional and keyword arguments to functions, and see their tuple and dictionary representations in practical examples.
Learn how Python treats functions as first-class citizens, allowing you to store them in variables, alias them, and pass or call them like data, enabling versatile higher-order patterns.
Explore nested functions in Python by showing a function containing another function, handling a string argument, and illustrating how inner calls print hello and return control to the caller.
Explore Python namespaces and function scope by examining how inner functions access outer variables, how nested functions interact with arguments, and the scope hierarchy from basics to production.
Explore Python closures through nested functions that return functions and capture outer variables, demonstrating how inner functions access and preserve scope for flexible, reusable code.
Explore how functions act as first-class citizens by passing, storing, and calling them as arguments, and implement decorators that wrap and transform other functions.
Explore classes and objects by building a card game where each card has a number and color; define a class with these properties and create multiple card objects in Python.
Define a capitalized class to model a guard with number and color, implement __init__ to initialize self attributes, create an object, and access its number and color.
Explore how a class creates objects, how __init__ runs on instantiation, and how self stores and accesses data members.
This lecture shows that changing one object's data does not change another's. Each instance stores its own number and color in memory, so class instances do not share cell variables.
Learn how to add member functions to Python classes, using self, and manage object properties across instances, print data via methods, and see how changes affect all class objects.
Explore how Python implements objects and classes in object-oriented programming, revealing encapsulation, polymorphism, and abstraction as core building blocks.
Learn to build a banking system using object oriented programming in Python, with bank class managing user name, password, balance, and a history of deposits and withdrawals stored as dictionaries.
Learn how to define a Python class with an __init__ method that collects name, password, and initial amount, uses private attributes, and initializes a transaction history within the project.
Learn how to implement add and deduct functions in a Python class, including input validation for negative amounts, updating balance, and recording transactions in a history list.
Implement a history feature that tracks money transactions with a status code dictionary (1-4), timestamps, and an appendable list of records for successful and failed operations.
Finalize the project by implementing a balance function and a show transactions feature that prints history in reverse order, with optional authentication for add and deduct operations.
This course is for anyone who wants to learn python. I will cover the basic implementation of different functions and how to use them together to create solutions.
We will see different kinds of in-built functions, object-oriented programming, and how to solve different problems. We will not only learn python but problem-solving in the computational world too.
After going through this course you will be ready to jump into creating real-world projects.
I designed this course structure after finding a pattern among different students. These were a few things which were required in all fields. I combined, structured, and built this course to be a base foundation from where you can transition into any specific field. No matter if it's data science, a simple job, academics or just for fun.
I started from very basic covering the idea behind the programming language. Then I explained each topic with their general life usage. I tried to explain the working of each bit. How to combine these tiny pieces of code and convert the result into a working model.
This course is enough to get you started in the world of programming. No matter if you are a programmer or not, this course will surely help you.