Welcome to the thirteenth lesson of the “Python From Scratch” series! In this lesson, we will be exploring three important topics in Python programming – arrays, classes, and objects. We will begin by learning about arrays, which are collections of data that are stored in a contiguous block of memory. We will cover how to create arrays, access their elements, and perform operations on them.
Next, we will move on to classes and objects, which are fundamental concepts in object-oriented programming. We will learn how to create classes in Python, define their properties and methods, and use them to create objects that can be used in our programs.
Throughout this lesson, we will be building on the knowledge and skills that we have developed in previous lessons, so it is recommended that you have a solid understanding of Python fundamentals before diving into this one. However, even if you are new to Python, you should be able to follow along with the examples and exercises provided.
Overview about Our Python Lesson 13
Python Arrays, Classes and Objects Five pages of summary in PDF format to start learning the Python language with a series of lessons that we will complete together to master the Python language
By the end of this lesson, you will have a solid understanding of how to use arrays, classes, and objects in Python and how to incorporate them into your own programs. So, let’s get started!
Lesson Content
- Python Arrays
- Arrays
- What is an Array?
- Access the Elements of an Array
- The Length of an Array
- Looping Array Elements
- Adding Array Elements
- Removing Array Elements
- Python – Array Methods
- Python – Arrays Exercises
- Python Classes/Objects
- Create a Class
- Create Object
- The __init__() Function
- The __str__() Function
- Object Methods
- The self Parameter
- Modify Object Properties
- Delete Object Properties
- Delete Objects
- The pass Statement
- Python – Classes and Objects Exercises
Lesson Format
Nu Of Pages
5
Download Python Lesson 13 From here
Python Lessons
Python From Scratch Lesson 1
Python From Scratch Lesson 2 Pdf (Python Variables)
Python From Scratch Lesson 3 PDF (Python Data Types, Numbers, and Casting)
Python From Scratch Lesson 4 PDF (Python Strings)
Python From Scratch Lesson 5 PDF (Python Booleans and Operators)
Python From Scratch Lesson 6 PDF (Python Lists)
Python From Scratch Lesson 7 PDF (Python Tuples)
Python From Scratch Lesson 8 PDF (Python Sets)
Python From Scratch Lesson 9 PDF (Python Dictionaries)
Python From Scratch Lesson 10 PDF (If … Else)
Python From Scratch Lesson 11 PDF (Python While Loops & For Loops)
Python From Scratch Lesson 12 PDF (Python Functions & Lambda)