
Students will be able to understand the need for learning Python as a programming language and it's simplicity
Learn to set up Python idle and use the print statement to display and format outputs with end, declare variables, and greet users by name.
On completing this lecture students will learn to:
Determine the datatype of a variable using type()
Perform comparison between two datatypes
In this lecture, the students will learn the following built-in functions:
Conversion functions
Math function
Master fruitful functions in Python by seeing how a function returns a value used in an expression, unlike void functions, with examples of arithmetic and boolean returns and None.
Explore conditional statements in python, including simple if, if else, chained conditionals, and nested if, with indentation, pass statements, and examples showing numbers and alphabets.
At the end of the lecture, students will learn the following concepts:
Built-in string functions
Indexing
String slicing and it's application
for loop
Explore Python lists by performing remove and insert operations on an employee list, understand mutability, concatenate lists with +, work with nested lists of names, ages, and skills, and sort.
Learn how to merge items into a skill set list using append and extend, access sublists by index, and search the list using the in operator to check for elements.
Explore dictionaries in Python, using key-value pairs and hash-table efficiency to replace lists. Learn to create a dictionary, parse lines, count locations, and identify the most frequent location.
Learn how to gather arguments into a tuple within a function to minimize lines of code and handle dynamic parameters from the calling function.
Learn object oriented programming by defining classes as placeholders for data and functionality, create publisher and book objects with attributes, and instantiate objects without a new operator.
Explore how to define methods inside a class with the employee example, updating an age attribute and accessing instance data to demonstrate object behavior in Python.
Initialize object attributes with the __init__ method using self in Python. Create an employee object, assign name and age, and print these details.
Explore magic methods and operator overloading in Python classes. See how overloading the plus operator updates a shopping list dictionary by increasing item quantities for cereal and chocolate.
Explore Python exceptions and arithmetic errors, using try, except, and finally blocks to catch issues like division by zero and overflow, ensuring graceful program termination and cleanup.
Explore how lookup errors occur from out-of-range indices and missing dictionary keys, with examples of negative indexing and key lookups, and learn to handle them with try/except.
Learn how AttributeError arises when a class attribute is missing due to a typo, and how to catch it with an exception block while working with Python objects.
Learn to avoid name errors and type errors in Python by understanding proper initialization and preventing integer and string concatenation issues.
Learn to create user defined exceptions in Python by inheriting from the base exception class, raising custom errors for out-of-range marks, and complete the assignment exercises to reinforce these concepts.
This course introduces you to the most sought after language of the day. You will have a whole new experience of learning to program Python step by step with things to note as pop-ups such as syntax, definitions and key points to remember. Knowing the numerous features that Python offers, this course will definitely make it easy for you to recall the concepts as well as commands while implementing them. At the end of every module, this course makes sure you got the concepts right by way of quizzes and assignments which not only gives a good understanding but also gives additional facts there too.
Learn Python 3 through code walkthroughs, covering the
Basic commands in Python shell
Control structures
Fruitful functions
String manipulations
Data structures
Inheritance
Magic methods
Exception handing and lot more...
This course will enable you to start coding Python with confidence right away.