
Explore Python programming by example across three sections: basics (input, functions, conditional statements, control flow, dictionaries), file handling, and common modules, with hands-on programs and assignments.
Meet a seasoned Python instructor who explains Python programming quickly through concepts with examples and real-time programs, backed by 50 years of software experience and Microsoft certification.
Learn to read a welcome message from the keyboard using Python's input function and print it to the console, assigning it to a string variable in a simple Python program.
Learn how to write a Python program that finds the absolute value using the built-in abs function, with input, variable assignment, and print-formatted output.
Learn to read two numbers from the keyboard, convert them to integers, and use max and min to display the larger and smaller values.
Learn to input three numbers, store them in a list, and use max and min to display the largest and smallest values with a Python program in a Jupyter notebook.
Write a python program to sort three numbers by taking input, using the sorted function, and compute the min, max, and the middle value from the three numbers.
Discover how to check divisibility in Python by inputting two integers, converting them with int, and using the modulo operator to test and print divisibility results.
Learn to calculate simple and compound interest in Python by taking input from keyboard, converting to float, and using the exponential operator in a Jupiter notebook.
Learn to write a Python program that checks whether a given number is perfect, Armstrong, or palindromic by computing divisors sums, digit powers, and reversing digits, using loops and conditionals.
Write a Python program that reads a number, converts it to an integer, and checks whether it is prime or composite by testing divisibility, using break to exit early.
Learn to write a Python program that computes the factorial of a positive number via input, range, a for loop, and iterative multiplication.
Learn to compute x^n in Python by building a recursive power function with base case n equals zero and halving strategy, and compare it to using the built-in pow.
Create a python program that prompts for a positive number and prints the Fibonacci sequence up to that many terms, starting with 0 and 1.
Write a Python program to compute sum of 1 + x + x^2 + ... + x^n and its minus variant, using a for loop and the power function.
Develop a factorial and power function, and use loops to compute and sum the series x + x^2/2 - x^3/3 + x^4/4 + ... up to n, returning the result.
Count and display vowels, consonants, uppercase, and lowercase characters in a Python string using len, lower, and upper functions with character checks while ignoring spaces and non alphabetic characters.
Learn to write a Python program that reads a string from keyboard, converts it to lowercase, uses reverse and list constructor to check whether the sequence forms a palindrome.
Swap elements at even and odd positions in a Python list by defining a function, using range-based indexing, and applying multiple assignment to replace items from even to odd positions.
Declare an empty list, populate it with user input using a loop in Python and append, then search for an item with the in operator and report whether it exists.
Build a Python program that inputs a list of numbers and checks if a number equals sum of cubes of digits, using modulo, floor division, exponential operator, range, and loop.
Learn to count how often a character appears in a string using a Python dictionary, exploring ASCII values, uppercase and lowercase handling, and basic iteration with if checks.
Create a Python dictionary of employee names and salaries, then input the number of employees, add items dynamically, and print each key and value.
Create a Python dictionary of students, add items dynamically, and run a linear search to display the names of students with marks above 75.
Learn to write a Python program that computes the greatest common divisor and least common multiple of two integers by defining and calling a function and returning results.
Create a Python program that builds a list, adds items with append at runtime, and searches for a given element using the in operator, then prints the result.
Learn to read a text file line by line in Python, split lines into words, and print words separated by a # using the open method and a file object.
Read a text file in Python safely using the with open statement, then count vowels, consonants, uppercase, and lowercase letters by iterating lines, words, and characters.
Create a Python program that stores roll numbers and names in a binary file using pickle, then dump and load data to search and display the corresponding name.
Learn to create, read, and update a binary file of student records in Python using pickle, with roll-number based updates, dictionaries, and list structures.
Learn two-file python file operations by reading from a source file and writing lines containing a target character to a destination file, using open, read, and write.
Generate a random number between 1 and 6 in Python by importing the random library, defining a function, and calling it to simulate dice rolls for games and simulations.
Implement a stack in Python using a list and perform push and pop in a last-in, first-out order. Learn to check stack size and inspect contents.
Implement a queue in python using a list, performing enqueue and dequeue while tracking front and rear to illustrate the first-in, first-out workflow.
Count the most common words in phishing email text with a Python program that splits content, builds a word list, and uses a collection counter with most_common.
Plot data using matplotlib's pyplot module by creating a subplot, preparing x and y data, and displaying the graph with the show function in a Jupyter notebook.
Learn to perform data analysis in Python using the pandas library, install and import pandas, create series from dictionaries, and analyze multi-dimensional data in Jupyter notebooks.
learn to implement four by four matrix multiplication in python using nested lists and three loops over rows and columns to compute the result matrix.
Learn how to perform file validation in Python by using the os module to check paths, directories, and files before reading, writing, moving, or deleting, avoiding runtime errors.
Create a static web page with Python and display it in a web browser using Python's open method, exploring basic web development with Django and file operations.
Learn how to find and replace words in Python strings using the replace method, replacing old values with new ones, with examples on hard-coded text and file-based workflows.
Learn to print an nxn checkerboard pattern in Python by using a two-dimensional array of zeros and ones, with nested loops and slicing.
Create a Python program that reads a year, converts it to int, and uses nested if statements with the modulo operator to print whether it is a leap year.
This lecture shows Python code that reverses a number by taking input, converting it to int, and using a while loop with remainder to build the reversed value.
In this course , I have used problem solving approach using Python. At end of each lesson you will be able to write python programs using the lesson objectives topics. This is the fastest way to learn python programming.
This course has been designed for learner who want to learn Python programming with little or no knowledge about any programming.
44 Python programs has been shown and write step by step in the course and explained about the Python object used, Program logic and code detail.
Entire course has been divided into 3 sections and each section has been added with relevant programs. It has been carefully crafted lectures and superb quality of production (Full HD videos).
Marker used to explain the concepts. Each lesson designed to have objectives/ outcome.
In this course we will teach you Python 3.
In each lesson, One program has been explained with Python objects, Program analysis and code logic.
Following topics programs has been explained in the course.
Input and Output function
Conditional statements
Iteration and control flow
Lists
Tuple
Dictionary
Functions
File Handling
File operation on text file
File operation on binary file
Stack Data Structure
Queue Data Structure
Random
Collections
Pyplot Module
Numpy Module
Panda Module
Pillow Module
OS Module
Webbrowser Module
Who this course is for:
Beginners who have never programmed before.
Programmers switching languages to Python.
Intermediate Python programmers who want to level up their skills!