
Open Python IDLE to write and run scripts, use the editor’s color coding and auto fill, save as sample, and run with F5 to see hello world.
Practice chapter 1 lab exercises and solutions in Python by writing programs that print arithmetic outputs like one plus two equals three and display a welcome message.
Explore variables in Python, learn how memory stores values, and understand five standard data types: numbers, strings, list, double, and dictionary, with their structures.
Explore Python strings by defining and printing strings, indexing to access characters, slicing subranges, concatenating strings, repeating, and building simple programs that display hello world.
Master Python tuples by writing a program that prints values from one to five and demonstrates joining elements, reinforcing basic tuple operations.
Explore lists in Python, a versatile data type written as square brackets with comma separated items. Learn indexing, slicing, length, and appending by building and printing list elements.
Explore Python basics with chapter two lab exercises on declaring two elements, summing, printing, multiplying numbers, and computing powers.
Define an age variable and use an if statement to print a message when age is greater than or equal to 22, otherwise print a message, to demonstrate conditional execution.
Explore if statements and elif chains to evaluate conditions and execute corresponding blocks, with else handling the default path when no conditions match.
Demonstrates Python if statements by checking for 100 and printing 'value is 100' or 'goodbye', and shows that 200 makes the condition unsatisfied so the statement doesn't execute.
Initialize a counter to zero, loop while the counter is less than three, print the counter, and increment the counter to complete the example.
Learn to implement a counting loop in Python using a while loop, printing each count and incrementing by 1 until it exceeds N, as demonstrated in chapter 4 example 7.
Explore how Python lists use square brackets and comma-separated items to store multiple data types, with examples showing integers and strings together.
Define lists with strings and numbers, access elements by zero-based indexing, and slice list2 from index 1 to 5 to print specific values, illustrating Python list operations.
Update values in the list and print the value at index 2 as you modify the list. Display the updated value 2001 after replacing 1997.
Define a list and apply the sort function to arrange its string elements alphabetically by their first character, then print the sorted list for verification.
Practice deleting elements from a list and observe the before and after states, including updated indices and printed results, using defined elements and print statements.
Write a Python program that reads a letter from the console into s and uses an if statement to print a message when s equals a.
Learn to create a two-argument multiplication function, print results, and return values, then debug highlights like misspelled keywords and interpreter errors to reinforce stepwise execution.
Learn to pass two arguments to a function, including an age parameter, and perform arithmetic like multiply and divide with Python interpreters.
Learn how to define and call a function in Python through a simple lab example. See the function called twice and the resulting output, including a print call.
Explore how a class groups similar items into objects, using birds like peacock, crow, and pigeon, books as items, and a car with brands as its objects.
Objects are the basic units of object oriented programming, identified by their unique name, representing a particular instance of a class, with multiple instances and each holds its own data.
Explore defining a Python class with the class keyword, adding attributes and methods, using a docstring, implementing a constructor, and displaying employee data via the dot operator.
Explore how a child class inherits properties from a base class in Python, acquiring attributes and functions to form a subclass.
Learn how to open files in Python, inspect the file mode, and use the file object's closed attribute to verify if the file is closed.
Learn to write text to a file in Python by using the file object's write method, handling both text and binary data and passing strings to write.
Learn how to read and write binary files in Python using the open function in binary mode, and understand handling binary data.
WHAT IS THIS COURSE ABOUT?
This course start with basics of Python programming language and takes you up to Intermidiate level.
It will make you self sufficient in programming so that not only you become Expert Python but also give you insights to learn any language quickly and easily.
Lot of examples in each chapter with explanations.
WHAT IS GOING TO BE COVERED IN THIS COURSE?
Main topics to be introduced in this course as follows:
WHY TAKE THIS COURSE?
Very importantly, this course aims to cover the basics of Python to teach coding to everybody.
You don't need to be developer to take this course.
It gives you complete exposure of Python with examples to understand it thoroughly.
The use of Python will make your scripting or computations or the development of the tools which you need to implement quite fast and easy.
Lot of Lab Exercises and Solutions in every chapters with explanations which helps you to understand each concept thoroughly.