# migrations

dir: embeddings_queue
filename: 00001-embeddings.sqlite.sql
hash: d3755dfd232be8e8301f4d7fcfb3a486
sql:
CREATE TABLE embeddings_queue (
    seq_id INTEGER PRIMARY KEY,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    operation INTEGER NOT NULL,
    topic TEXT NOT NULL,
    id TEXT NOT NULL,
    vector BLOB,
    encoding TEXT,
    metadata TEXT
);


dir: sysdb
filename: 00001-collections.sqlite.sql
hash: 38352d725ad1c16074fac420b22b4633
sql:
CREATE TABLE collections (
    id TEXT PRIMARY KEY,
    name TEXT NOT NULL,
    topic TEXT NOT NULL,
    UNIQUE (name)
);

CREATE TABLE collection_metadata (
    collection_id TEXT REFERENCES collections(id) ON DELETE CASCADE,
    key TEXT NOT NULL,
    str_value TEXT,
    int_value INTEGER,
    float_value REAL,
    PRIMARY KEY (collection_id, key)
);


dir: sysdb
filename: 00002-segments.sqlite.sql
hash: 2913cb6a503055a95f625448037e8912
sql:
CREATE TABLE segments (
    id TEXT PRIMARY KEY,
    type TEXT NOT NULL,
    scope TEXT NOT NULL,
    topic TEXT,
    collection TEXT REFERENCES collection(id)
);

CREATE TABLE segment_metadata (
    segment_id TEXT  REFERENCES segments(id) ON DELETE CASCADE,
    key TEXT NOT NULL,
    str_value TEXT,
    int_value INTEGER,
    float_value REAL,
    PRIMARY KEY (segment_id, key)
);


dir: sysdb
filename: 00004-tenants-databases.sqlite.sql
hash: 048867ce8fcdefe4023c7110e4433591
sql:
CREATE TABLE IF NOT EXISTS tenants (
    id TEXT PRIMARY KEY,
    UNIQUE (id)
);

CREATE TABLE IF NOT EXISTS databases (
    id TEXT PRIMARY KEY, -- unique globally
    name TEXT NOT NULL, -- unique per tenant
    tenant_id TEXT NOT NULL REFERENCES tenants(id) ON DELETE CASCADE,
    UNIQUE (tenant_id, name) -- Ensure that a tenant has only one database with a given name
);

CREATE TABLE IF NOT EXISTS collections_tmp (
    id TEXT PRIMARY KEY, -- unique globally
    name TEXT NOT NULL, -- unique per database
    topic TEXT NOT NULL,
    dimension INTEGER,
    database_id TEXT NOT NULL REFERENCES databases(id) ON DELETE CASCADE,
    UNIQUE (name, database_id)
);

-- Create default tenant and database
INSERT OR REPLACE INTO tenants (id) VALUES ('default_tenant'); -- The default tenant id is 'default_tenant' others are UUIDs
INSERT OR REPLACE INTO databases (id, name, tenant_id) VALUES ('00000000-0000-0000-0000-000000000000', 'default_database', 'default_tenant');

INSERT OR REPLACE INTO collections_tmp (id, name, topic, dimension, database_id)
    SELECT id, name, topic, dimension, '00000000-0000-0000-0000-000000000000' FROM collections;
DROP TABLE collections;
ALTER TABLE collections_tmp RENAME TO collections;


dir: sysdb
filename: 00005-remove-topic.sqlite.sql
hash: b1367c826b8fba5f96f27befdc1d42d2
sql:
-- Remove the topic column from the Collections and Segments tables

ALTER TABLE collections DROP COLUMN topic;
ALTER TABLE segments DROP COLUMN topic;


dir: sysdb
filename: 00006-collection-segment-metadata.sqlite.sql
hash: 4eea7468935bf25d4604a0fed2366116
sql:
-- SQLite does not support adding check with alter table, as a result, adding a check
-- involve creating a new table and copying the data over. It is over kill with adding
-- a boolean type column. The application write to the table needs to ensure the data
-- integrity.
ALTER TABLE collection_metadata ADD COLUMN bool_value INTEGER;
ALTER TABLE segment_metadata ADD COLUMN bool_value INTEGER;


dir: sysdb
filename: 00007-collection-config.sqlite.sql
hash: 1c7e63bba346a42a18b6ab7f1c989bed
sql:
-- Stores collection configuration dictionaries.
ALTER TABLE collections ADD COLUMN config_json_str TEXT;


dir: sysdb
filename: 00008-maintenance-log.sqlite.sql
hash: 0a0e7e93111a01789addf64961c6127c
sql:
-- Records when database maintenance operations are performed.
-- At time of creation, this table is only used to record vacuum operations.
CREATE TABLE maintenance_log (
  id INT PRIMARY KEY,
  timestamp INT NOT NULL,
  operation TEXT NOT NULL
);


dir: sysdb
filename: 00009-segment-collection-not-null.sqlite.sql
hash: 054355aef9e63702bf54ea29e61563f1
sql:
-- This makes segments.collection non-nullable.
CREATE TABLE segments_temp (
    id TEXT PRIMARY KEY,
    type TEXT NOT NULL,
    scope TEXT NOT NULL,
    collection TEXT REFERENCES collection(id) NOT NULL
);

INSERT INTO segments_temp SELECT * FROM segments;
DROP TABLE segments;
ALTER TABLE segments_temp RENAME TO segments;


dir: metadb
filename: 00001-embedding-metadata.sqlite.sql
hash: 2b4cf52c4bb2676e21d6860a4409f856
sql:
CREATE TABLE embeddings (
    id INTEGER PRIMARY KEY,
    segment_id TEXT NOT NULL,
    embedding_id TEXT NOT NULL,
    seq_id BLOB NOT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    UNIQUE (segment_id, embedding_id)
);

CREATE TABLE embedding_metadata (
    id INTEGER REFERENCES embeddings(id),
    key TEXT NOT NULL,
    string_value TEXT,
    int_value INTEGER,
    float_value REAL,
    PRIMARY KEY (id, key)
);

CREATE TABLE max_seq_id (
    segment_id TEXT PRIMARY KEY,
    seq_id BLOB NOT NULL
);

CREATE VIRTUAL TABLE embedding_fulltext USING fts5(id, string_value);


dir: metadb
filename: 00002-embedding-metadata.sqlite.sql
hash: 12a570f7121b3a8ce750a2a7c36da20f
sql:
-- SQLite does not support adding check with alter table, as a result, adding a check
-- involve creating a new table and copying the data over. It is over kill with adding
-- a boolean type column. The application write to the table needs to ensure the data
-- integrity.
ALTER TABLE embedding_metadata ADD COLUMN bool_value INTEGER


dir: metadb
filename: 00003-full-text-tokenize.sqlite.sql
hash: f97ad6334aeaa8f419f01110b648b97a
sql:
CREATE VIRTUAL TABLE embedding_fulltext_search USING fts5(string_value, tokenize='trigram');
INSERT INTO embedding_fulltext_search (rowid, string_value) SELECT rowid, string_value FROM embedding_metadata;
DROP TABLE embedding_fulltext;


dir: metadb
filename: 00004-metadata-indices.sqlite.sql
hash: fb36603a45ee2cd0254cef3ef86585e8
sql:
CREATE INDEX IF NOT EXISTS embedding_metadata_int_value ON embedding_metadata (key, int_value) WHERE int_value IS NOT NULL;
CREATE INDEX IF NOT EXISTS embedding_metadata_float_value ON embedding_metadata (key, float_value) WHERE float_value IS NOT NULL;
CREATE INDEX IF NOT EXISTS embedding_metadata_string_value ON embedding_metadata (key, string_value) WHERE string_value IS NOT NULL;


# embeddings_queue

created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 00516d4d-fdb1-4d07-b0ca-d861139ad2bb
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "Asad, Asad is present, okay brother, we picked Asad, from here, this has come, Asad here, okay and from here this record of Asad has come, oh no, okay, Asad is there again, isn't it, Sumer, Sumer is not there, it is not there, but it will come, why won't it because I am doing union, Sumer has come, now when it has come, what will come here, brother As, Sumer is not there at all, Sumer's record is not there in that table at all, now what will come here, brother A, the values \u200b\u200bthat are not"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 219181d7-93be-4eeb-8548-618e6abee767
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "come here, brother A, the values \u200b\u200bthat are not there, what will come here, brother A, did you understand, in the same way, Farjat's record will also not be found, A, so wherever it will be, there is no need to complete it, did you understand, so let's see, now this will be understood, see, the record of Sumer was not found, N N, the record of Farjad was not found, N A, okay, its record is not here The record of this was found, but it was not found. Now this matter is complete. Listen brother"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1a7209f1-77f6-4298-b6d9-b5fecf03f49a
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "Now this matter is complete. Listen brother this is complete. The people here are also not there, so the people here will not be included. When they will be included here, then the people here have their records, so the A will start filling here. Look brother, they have come here. The people here have records, they do not have those records, but both will be included. And both said, okay, all of you come to me. In place of those which are not with you, I will put A. Those which are not with"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 8ca6d4ac-86d4-4c19-b1bf-9194466531af
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "with you, I will put A. Those which are not with you, you put N in place of them and complete the picture. Fill it up. I said, this is called union. Union, okay? Only those records which were being mapped in the intersection were coming and in the union, both of them were coming. And what did both of them decide? Those which are not with me, you put NN in place of your data. And those which are not with you, those which are not with me, we will put Ann in place of yours. How can we fill it?"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 038aef30-0900-4ec4-9d0f-abcc55683297
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "put Ann in place of yours. How can we fill it? When we bring in a lot of source data, there will be missing values, then you will have to use that technique, inner and outer. Okay, I understood the point, inner merge and outer mergeIf there is any question inside this, yes now now we have PD dot merge D A0 command A2 and what all is there now we have left on and right on left on and right on, that means it says brother what to do left on and right on what is there in this two data frames are"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1027b3ff-7455-4695-bd00-8ff107f0479e
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "on what is there in this two data frames are written we do not have any column overlapping now how will we do any column overlapping, yes on whose basis will we lay it, in such a situation if there are two data frames, two tables in which the name of any column is same then merging cannot happen, there is a situation, the name may not be same but the values \u200b\u200bare same written here, employee name is written there only name but it is not employee it is written here, apple id is written there only"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 39e8c89e-8fb1-4d3c-bd0c-8158ca369756
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "is written here, apple id is written there only id, now in such a situation the names of the columns are not overlapping but it is known what is the id, what has been done to it, what is the id written, we tell ourselves, this is the column from the cell with quota, both are fine when will it be, the name of the column may not be coming common every time you do not get access to the database every time you have it There is no access to the database and you go into the database and change it,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 0acbb13b-a67e-45e9-ad0a-4e4eee4e7cc9
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "and you go into the database and change it, you change the entire column that is created behind, use the column names, what will happen to them in your queries, if you come out then pu catch, okay, I understood the point of left on, right on, okay we have done it here, inside how, what did we just see, inner and outer, inside it there are two more, left and right, one is left right written above, that left right means that there are two left table and right table, right, left p this is a table,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 4f247a87-248a-4a0c-8eef-fc26b4507080
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "and right table, right, left p this is a table, right p this is a table, right this which is in how, apart from inner outer there are two more possibilities, ch is none as left and right inner merge outer merge left merge right merge, it is very easy, it is very easy, just keep it in your mind with a trick, just what do we do here, I will show you here what are the possibilities in how, left right outer and inner and cross join is also okay, left right, now quickly tell me, what was the inner"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1f7315df-5e0d-4388-8f5b-031d9a1139ad
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "right, now quickly tell me, what was the inner doing, the inner was saying that only those who are in both will come, what was the outer saying, those who are not with you will also come to me All those which are not there will come, what does the left say, all my records will come, that is, if I have any record, then it will definitely come, that is, when I mapI am saying A, I have you, A, come on bring it, understand the matter, I have B, I don't have B, no problem, I will keep B, what will I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 89045ae5-9c18-414f-9af4-8d0fadff822d
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "have B, no problem, I will keep B, what will I put in your place, I have C, you have yes, okay, bring it, I have D, you have yes, bring it, now I have D, the matter is over, you are saying, do I also have A, I go, do I have the left jan, which jan is left jan, I will have it, people will come, whether you have it or not, as per your wish, the left will maintain all the records of the left, and if he does not have the right, then what will he keep for their jag, oh no, the outer one has gone"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 446615c8-b307-43ca-8de5-1051d6bdcf4e
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "keep for their jag, oh no, the outer one has gone crazy, take it and in the outer, so the son, the common ones in both were coming, in the inner and the outer, so both of them did not have the bass, so I put A, there was no bass in that, so I will put A, now I am saying no, I will not put it, you have it, otherwise I will not put A, yes, I have it, you do not have it, you put A there, one minute, one minute, yes, then this is the left march and if I write it here, What is right B? So whose will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 689a5b24-21ca-4c5a-afab-da803295c09b
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "I write it here, What is right B? So whose will go on, the one on the right will go with the right and the left has an exit, what is the difficulty in this, left, right, inner, outer. It is not necessary to remember how it works and what does it do. The amazing thing is that when you get a question, at that time you will put it in the L now, you will put it at 9 o'clock. Will there be any B till 9 in the evening also? So at that time it has to be decided or I have to gr, this has to be taken"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 997aec11-d07e-4e47-bd97-25cbc929713c
encoding: FLOAT32
metadata:
{"source": "nasir/pandas_merging_data.txt", "chroma:document": "be decided or I have to gr, this has to be taken out. It will be done a little. You people will tell which join should be put. Yes, no, it will remain one only. The left and the other two will become right. Two, one will go to this, then this will go first. Actually, internally it does this, first it will do these two, then whatever result comes, it will be done with the third one. And you might be thinking that it's done in one go, okay, let's just keep it like this."}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3434d82c-3082-4f4f-b300-a333585eb955
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "If there is any issue then let me know, good, I will tell you, Audi student is connected with me, try not to connect on the mobile, it is not visible, okay, let's go, we have put it on record, in the last class we had studied this, what are variables etc. legal and illegal, I had to share one thing as an exercise and I had also said it, then I forgot, there is complete silence in you guys group, like today there is silence on the roads, why is it so, neither is anyone asking any question, nor is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 4c7d56be-c9fb-4611-8e4d-21b30eda8c7d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "so, neither is anyone asking any question, nor is anyone facing any issue in reading, you will have to do it yourself, someone should stand up tall, yes, no one is tall, look, if someone's hand is going, then just do it, ok, we had studied the operators plus minus multiply divide module operator just like that, okay, today we start ahead, class I keep doing it in one so that only one file remains, ok also operator MBT or this is what we call solving expression, when many operators evolve in a"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3a8ea160-4660-49f3-b545-444b28ee164c
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "expression, when many operators evolve in a mathematical expression, then which one gets solved first, right, so I will start from here We have some Uri operators. What are Uri operators which have only one value? In a binary operator, two values \u200b\u200bare required. In this way, Uri negation, there is a minus somewhere. Binary subx, binary multiplication, binary division, binary model, why are you saying binary? In this, at least two operators are required. Binary floor division, integer division,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 53ee44d8-c223-422a-a8c0-b901bf213d16
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "Binary floor division, integer division, binary expansion, plus minus, multiply, divide. We all know what is written here. Everyone has taught us [Music] Every number is a complex. A complex is two parts. A number always has two parts, a real part and an imaginary part. That means, if I am writing a number here and I write a number here, I wrote 13. What kind of a number is this? It is a real number. An imaginary number. Real number. Well, what is the concept of an imaginary number? This is not"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d4269749-7522-4c60-806d-847c6e07f32b
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "the concept of an imaginary number? This is not our topic. We are talking about what is an imaginary number whose value we don't know. If it is a number, its value will be on its own. Yes, I remember, no. Come, let me tell you this now. Every number we have is an imaginary number, meaning a number which is not actually a numberIt is a combination of a real number and an imaginary number. Actually, this was created later on by coming together at one place. And if you remember, we are asked to"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 5c8bfef6-5f0a-412c-bdba-3c78946a4caa
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "one place. And if you remember, we are asked to find the square root of 16, what value do we get? We get the value of 4. But in case, instead of 16, we get -16. Then what answer do we get? Okay, then what answer do we have? Then if we calculate this on the calculator, the calculation here fails. The calculation here fails. If you try it, where is the root visible here? I took this value and inside this, I am showing some number of Liliya minus, zero minus. It is coming inside this. The root"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 0d2defe7-26f6-4e3b-863b-956834034877
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "zero minus. It is coming inside this. The root alone is visible. I don't know, friend, check it on your calculator. The Azan is about to happen now. The Hala Salam has happened. The Azan has happened. Yes, let's go for Namaz. I thought maybe there would be an an voice now. I heard it. I thought we should recite its Salato Salam, maybe before the Azan, after that there would be an an. The recording of Dil Ke Stop. I am doing this by coming back or ok sir so the minus 16 cannot be carried forward"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d270df9c-b0c7-4123-8093-ed0b2795d606
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "ok sir so the minus 16 cannot be carried forward so that's why it is dealt with a little bit that the minus 16 is written as y i.e. it is 16 and then it is called y now it can also be written like this -1 multiplied it doesn't matter on both so this thing which is under \u221a -1 or what is it equal to io means we call it this imaginary part 16 and then we resolve it further so the answer of minus is how much is it f io right so now y four io which is written with it means that there is an inner"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1184f148-d1ed-4e13-b46a-2aadbee0726d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is written with it means that there is an inner part of the imaginary part number ok we come back here we go directly and solve it from which we will also learn a little and here it is written let's see now it is written in python statement x assignment of r plus operator plus f minus b what are a and b what are a and b are operators terms are operant Operator is okay, operator is the sign, operator on which sign is being applied and operator and a p b minus a p 5 what is it called, group"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d928e86c-0984-4a5b-95d9-9c8b8dbe69f6
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "and a p b minus a p 5 what is it called, group expression statement equation expression or equation is called when it has equalThere will be a sign of two, right? So, let's check its answer. Our answer is correct. Let's go to the next step. What will be the answer? Right now, fo is wrong. 4 p0 plotting division is okay. 4 p0 f will not come. If we write f, it will be wrong. Remember, single division, double division. Use equal operator, object of type flutter equal. Okay, we have not read this"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 7e83d2f9-bfa2-4cab-b3f6-536aa70f3ecf
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "type flutter equal. Okay, we have not read this yet. Evaluator, but don't do this right now. I will tell you later. What are you saying? Yes, this also. Let's read something in this. I have not understood what you are saying. Let's do a little discussion here. Inside x, there is 10.0 and x lesson 100 and i instance x false. What does it mean? We will read it in detail. But since this has come, let's excel a little. What will happen? It will happen. If it is completed and e, the offer will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: da615b2b-3b4b-467f-b35f-3ac413e76ff4
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "happen. If it is completed and e, the offer will become true. Okay, let's go to the next step. Let's hear the following r truth tr [music] and f or if there is any value, what does it mean? If there is any e and false, then this has just come. So we are passing the time quickly, we will not get troubled, this this and this and there is no one else, are we okay, let's do one thing, we will come to this at the end of the class so that we can cover all the things that are coming which we have not"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 268d6222-72ce-47d8-ad4f-ea8f54a38117
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "all the things that are coming which we have not covered yet, we will go here now, okay I have prepared questions but I have prepared all those in your exam, so because of this I am saying, what is this, which operator is used to calculate the reminder of the division model, okay but the result of the expression this 4th lesson f 5th lesson is in the middle and operator both are true, then what happened, it became true then after that what will come out the following code, what will be its"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: a51978b7-9fb2-4c18-b030-a6efc0f91692
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "come out the following code, what will be its answer, yes I have taken the power of 20th, what is the power of th, 27 what is this, it is true, okay before this we will study the comparison operators here, comparison, what are the various comparison operators, first of all we have equal to operator, which equal to single equal It is not two, when we have to write equal then we write double equal, okay and then we have not equal to which not equal to this, we have not equal to and then we have"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: a6b2b344-8e26-4d0c-b614-b1097a9d6bf9
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "to this, we have not equal to and then we have greater than, okay, greater than and then less than then greater than is two and less than is equal to two and thisho comp and we have an operator in operator is an operator and we have also seen and we have also seen and we have not get so not operator is also okay so here we have some operators which we are seeing here okay does anyone have any problem in evaluating them right, what is greater than what is lesson what is lesson equal to greater"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 8c092122-8844-43b0-9606-04dbc861fa24
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "what is lesson what is lesson equal to greater it is common and now we have done what is not, not reverses it just now in and not I will tell you what does not do to it exactly not true what will be the answer false whatever it will be what will it reverse it what is in operator like in operator goes inside a collection of values \u200b\u200band searches whether it is in it or not like if I write here or I have written P in Pakistan is in Pakistan it is not because it is in capital we are searching in"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: bad50072-78c1-4dcc-9b78-cc5a1327a8c3
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "not because it is in capital we are searching in small okay okay what is it is exactly so this is from any collection I am using the word collection I am not using empty string because in future we will read are and many other things it finds and brings it directly from any collection Whether it exists or not if it exists then true or false okay so equal to not equal to not this is the comparison operator we get here now what is it saying to us what happened I just logged in brother what is it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d06ae2e8-5131-4b10-86c0-8291fb319079
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "what happened I just logged in brother what is it saying to us 10 equals 10 what will be the answer to this true and what will this do to it false right are you understanding this thing similarly which operator do we use for floor division single or double yes single double floor floor division see there is an integer division and there is a floor division in plot there is single and in integer so which division are we talking about floor division yes first let's understand this word floor we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d232e2b2-c5bf-4f08-8afe-9c7019e77b9d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "yes first let's understand this word floor we have two methods let me check here let's go zigzag today but no problem let's have a module of maths I imported it I wrote on this what did I write math dot floor here I wrote a value here 12 pas what will be the answer to this 12 then I wrote here math dot seal two these both are equal to each other Let's go together pair menlo math dot seal here I wrote 12.6 what is thiswill go to 13 okay if I make it 12.9 it will still be 12 if I make it 12001 it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: b2d8a57d-5a43-405c-b789-9dcc50ba0993
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "it 12.9 it will still be 12 if I make it 12001 it will still be 13 what does this floor do listen what does this floor do it starts moving behind this number and converts the first integer it gets so if it starts moving behind 12.9 then what will be the first integer you get 12 and it starts moving ahead and converts the first integer it gets so what do you get 13 now tell me I am saying 12 divided by f which division is this yes okay which division is this this integer but what is being"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c22ba64e-0e77-4fe5-80fd-3c2c4b65fde7
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "division is this this integer but what is being applied on this the floor is being applied what is being applied so now do you understand the connection if we have this double okay so combine float and floor and make one the floor is doing the work of an integer it is taking it behind and doing it there okay that's why I demonstrated it so that It should get ingrained in the mind so that one doesn't have to learn it by rote ok sir modus for one is okay 4 to 8 one is a reminder correct what is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c3a9b331-324b-43d2-baf3-9ce053ae8799
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is okay 4 to 8 one is a reminder correct what is this yes what will be the answer 3 not equal to 3 5 greater than 4 everyone is saying true who is the true one and the false ones the rest are the false ones and no one is saying anything understand understand what is from here to here and what is from here to here true what is placed in the middle and how many true are needed one true is needed and who needs one true then this is done if it's done then it's done so then this is fine you"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: acda0816-b8c7-4037-9926-0cf7fb17e215
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "it's done then it's done so then this is fine you understood the point ok sir what is the output of the following code is flutter division if it is integer then what will happen brother it will become three what is this 3 < 2 put not then what will happen next it will become true which operator you perform logical and operation c just now we had applied and we had applied c in operator symbol sill if in Python now at pure Python level we write end we don't use symbols properly yes Python is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 7f117444-f5be-4abd-a142-2a2d02b8c64d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "end we don't use symbols properly yes Python is completely case sensitive, it will not work, what is this, why is it one, why does it happen, do you know, if the power of something becomes zero then it becomes equal to one, I have never thought about it, I don't have time right now, otherwise I would have just talked about this as well, okay then it became one, so yes, what is it saying is true and this is also true, don't be in a hurry in speaking, it's okay, don't be in a hurry thatOr do it,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3ed2ea52-9452-44e7-88d1-181362cb54d2
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "it's okay, don't be in a hurry thatOr do it, first look carefully, somewhere a small test also happens with us, the logical and and operator c, what is it saying, 5 not equal to 5 and 6 greater equals 6 greater, this will return true, 6 greater than equal to 6 is right, okay, we are not even going to bit wise, the later topic is left shift, right shift, what is it saying, 6 greater than 5 and from this lesson, tell me what will happen brother, what is the result of this expression, don't try"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c62cd654-54ce-44b2-b9f9-6a4e82235ea3
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "what is the result of this expression, don't try running it, see in the system, this is how it has to be told 40, what will be executed first, operator presidency, the first presidency is of brackets, before that there is a presidency of power, what happens before that, power, so brackets and then after that multiply divide, okay, what are the advantages, so multiply divide, then plus minus, so now our power is not there, first the bracket will be solved, first how many brackets are solved, aa"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c5b47c7e-5d2b-4aa9-a213-c76272f5afb3
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "be solved, first how many brackets are solved, aa will be solved, now aa will first fight with 10 or with both What happens is equal to multiply and divide, so if I want to multiply here or divide here, there is no issue, then AA and how much will it become 80 and if I take AA here first and divide it by 8 then how much will it become 4 4 \u200b\u200bm 10 how much will it become 40 and how much will 80 di 40 okay yes left to right left to right okay now this is what I should have done here, will 40 come"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: df6cccbe-34ca-4052-919a-e16cb8a0f18c
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is what I should have done here, will 40 come or 40.0 come, will it come if it is integer division, right, then what will come 40 always remember even if integer division is applied but if one value has become what, one value has become float, then the answer will not come in integer no matter what you do like this here I do divide by 3 now how much will come 4.0 12 double divided by f how much will come in integer but if it becomes 12 p0 now what is this one fruit and there is an inch and in"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 86549b34-0dd6-428e-b7cd-a5fd032eed50
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is this one fruit and there is an inch and in the middle it is saying do not apply the inch then which This is the matter further floats it of the following expression ji 10 I do not think it is confirmed that 10 is how much will come, will it come 4 point or will it come four point and what will come here 6 so 6 and 4.0 10 or 10.0 isn't it 10.0 he has given the option, no problem yes 8 diva is batu, so it becomes four, four and this became six, he might have given it wrong, something might"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1b540d4c-4aab-46c1-b45f-82a40086c63f
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "he might have given it wrong, something might have happened, sometimes mistakes also happen, come on brother, what is thiswhat will be solved first power of 3 to power 2 na na and * 2 18 + 5 23 are you telling 25 or check properly friend we are not doing something wrong let's what is the result of this expression twist 10 gr 5 5 < 2 false 10 is bigger than five na and f is smaller than t so it is correct na f is bigger than two so then what happened false no operator is coming in this no"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3f5d9d6f-dba1-4549-b52d-d8939eea7f9c
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "happened false no operator is coming in this no operator is coming in this so then what will happen yes we will go right what will come in the result left to right a good person is going right but if you show him a different option then it turns around now then there can be an error also earlier everything was right true or false like error can go wrong comparison operator are ted left to right so 10 this false yes what will come was multiply by hello error which option is there is an error the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 857dc39e-8c9f-47dc-8345-73c831217574
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "hello error which option is there is an error the answer of the error ones is wrong three times will make it three times okay what is it saying minus f minus ka to yes confirm by the way what happened minus 3 by running the minus that why did it become minus by the way yes brother why did it become minus 3 come on we will have to study division also see when we are dividing when we are dividing then I remember when we used to study that we have to divide then a statement was said okay a"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 6928e891-24a2-4587-9eef-328e7574914a
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "have to divide then a statement was said okay a statement was said and that statement was that we have to read the table so many times that we get 13 or what will become smaller than 1 we kept on studying from s so what did we take on y okay now come to our question what is our question saying what do we have minus f we have to divide it by u now by what should I multiply t so that it becomes smaller than minus f or minus f comes see if you say this sentence then you will reach what will be"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 8fb16065-1c50-43fd-b2cb-a310a0659b32
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "this sentence then you will reach what will be smaller than y minus s the bigger the number in minus the smaller it becomes so what is smaller than minus f minus s so multiply t so many times that it becomes smaller than f or If it comes equal then what did we divide u by minus 3, so this becomes minus si and then finally what is left here, na and then you applied decimal here and increased the zero, but because of floor division, that decimal got discarded and what did we see was only minus, I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 07f8e61f-582c-442b-92c7-f8363019f811
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "discarded and what did we see was only minus, I understood that there were big tricks for division alsoNo, we had memorized it, which one, brother, now what we have here is written, like what would happen, we have to divide 20 by pho, not we used to say we have to divide 60 by pho, let's make it 50, I don't know if something like this would have happened, what would we have said, 4 and 4 are left, how much is one, then what do we have, we put a point on y, we increased the zero, then what would"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 88b4f0aa-0ecc-4057-9ea5-e57355b0aeee
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "on y, we increased the zero, then what would we have done, yes the point will not come now, 4 to a, how many are left, two, now what should we do brother, yes put a point and increase the zero by y, okay, how much would 4fo become, we would have 12fo, okay, now like I have here, pho and here, pho, now what should I do, pho, now tell me what should I do, this zero came down, it will go from y, a, who will take it up, then it will go on pho, so why didn't it go from y, so brother, this brother"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 25bef415-b56d-4361-9fb1-0c5782cdbb59
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "why didn't it go from y, so brother, this brother does not go up on its own, or the same sentence works, by what should I multiply pho to get zero or it becomes smaller than zero So if I multiply by zero, zero will come out as zero. It did not go up. It did not go up. I was teaching the child and he got stuck. He sent the three left over. When zero can go up, three can also go up. It is true. When zero can go up, why is three not going up? Why is one not going up? It was logical. Absolutely"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: abd27230-075a-4024-a5b1-baaf465d95b9
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is one not going up? It was logical. Absolutely good. Let's see further. You understood this, right? Why have we done this? Oho, okay brother. That is why I am getting you to practice and solving it so that you can practice. It is also the right question to write the code. What answer do we get? What will be solved first? The bracket got solved, so how much did it become? Here comes four. Then the power got solved. What happened? 4 4 m 4 how much did it become? 16 8 m 3 how much did it become?"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3e63efcf-0633-47c3-907d-b7ba389d2222
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "did it become? 16 8 m 3 how much did it become? So t and 16 how much did it become? 18 is there any division, right? 18. Let's see. 18 is saying that this is our calculation, brother. Let's check it, friend. 18 was coming just now. You were coming right now. Yes, first the power. It gets solved but here, the power was with it nor was there a bucket, so if at this time the presence of both seemed the same, then there was no such issue, but if instead of T, there was bracket power T's power u"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 794decb4-c5c9-4ba3-9c2d-696acd0677e7
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "instead of T, there was bracket power T's power u plus two in the bracket, then what would be solved first, the power of T stick stick u plus two power first with the bucket, then the power will come, yes this whole cycleIt is all about this, the whole affair is that if I talk about something simple, here I have written 12 plus 30, okay, diva ba 5, now if I do this first, it will become 42 div 5, it is like that, but the answer to this will be 30 div 5 and then 30 p, yes, if I put it in the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: dc814afc-adfe-4e99-9cf8-ad618e4f1600
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "30 div 5 and then 30 p, yes, if I put it in the bracket, then it will come here, 8 p something 8.4, okay, so it is important to know that the bracket, this is it, you have selected it and shift it to both the places, both will be applied together, if you understand, then it is a matter of precedence, the answer can be wrong, if you go in the wrong direction, okay, what did he give, come to this, do not hurry, do it comfortably, what will be solved first, let's go in the bracket, five is done,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 706b3763-0f3d-4dcb-b479-bbeb9f48b234
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "first, let's go in the bracket, five is done, now what will happen from here, power, how much will it be here, 4, so 5 mlp 4 diva by 4 5 p, applied this time, how many people did not understand anything, how much will it be from here I went from here, how much did it become when I went from here, what will it give us? Multiply by 4 divided by and what will come in its place. So now what will happen in the next step? And we will have this multiply divided by 4, how much will 1.0 become then 5 *"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 62e46d4a-a0f1-4574-9eb0-76b510e60458
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "divided by 4, how much will 1.0 become then 5 * 1.0, how much will 5 become? Yes, that's right, from where, come here. You are saying what should I do first, 4 div ba 4, okay, this is it, right? Now what should I do, go from left to right, how much will 20 div ba 4 become? So what is the president of multiply divide, so there is no problem, first multiply or first divide, it will be the same. Come on, yes it is x5, it is saying if this is a little bit of a combined equation, but I will explain"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ad64a822-3b03-4b92-b8e1-ae75a1b134b5
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "bit of a combined equation, but I will explain it for you, it is saying that if x becomes smaller than 10, then do this work, otherwise do this work. Now tell me which work will be done, the other work will be 5 div ba 2, so how much will the answer be? It is saying if the value of x If it is smaller than 10, then do this work or else do this work, it is smaller than 10, then which one will work, this one will do, so what kind of division is it, this is float division, okay, then 2 p f will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: acfa03f8-3c81-49e9-a845-28dcb370363f
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "it, this is float division, okay, then 2 p f will come, right? Listen, if x is smaller than 10, then do this work, yes brother it is smaller than 10, then this work will be done, don't get fooled by my words, I am explaining, I am asking you, now tell me, if x is smaller than 10 thenDo this or else do this, then which work will be done? The first work will be done, right? [Sangeet] What is the value of one? If pa is smaller than 10, then do this. Now tell me, if pa is smaller than 10, pa is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3daa684c-785f-4a8f-bbbd-c6cf12c8d15f
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "Now tell me, if pa is smaller than 10, pa is smaller than 10. By the way, a strange counting system is going on in our country, everybody knows this. So if pa is smaller than 10, then do this. If pa is smaller than pa, then this will work. And if it doesn't, then this will come. Okay, so what answer are you giving? Thankfully, now we should have checked. Ours is also not coming. Yes, their question is absolutely valid. This thing is correct. [Sangeet] Will it work or will it not work? If"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 0ac1cd08-065a-401e-b866-35a1bfd874b6
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "[Sangeet] Will it work or will it not work? If Hamza's age is greater than Hamza's age, then what can I do now? I don't know, so that it ends in your mind. Here I say x input please enter a value for x. Okay, and after that I wrote this expression here. Now tell me what is the answer? Tell me how. Now I can't tell you. Now I will activate it and I will put the value of x on y 23 you tell me what will come out 20 what will happen if I don't type it okay now I put y 30 now this has come now now I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 0e04c626-1ec0-4575-a974-5690b3de36a3
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "okay now I put y 30 now this has come now now I had put y so now this answer has come okay so now that by condition is running so at that time I understand what I am saying when we have the value already decided then you will feel that I am talking uselessly so wasting time but when the value will be as expected then your expression will work there bool zero false okay zero is false and true is one what does the expression length of python return what is the length of python six length is f si"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d298253e-bb89-470b-bd48-062822e2cecc
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "what is the length of python six length is f si ch bhaiya ch pi y then came this was the second one if x is less than 10 then let it remain one otherwise if you halve it then what will remain will remain the same f ff ka f t i the expression minimum 4 minus 2 71 mite ok round it down to 2.56 4 in two digits, in two decimals 2.56 or 2.57 56 or 57 ok look, you were saying 2.56, I confused you with 57, okay, it will be 57, yes, here if it would have been a bigger number, it would have been 5 or 6,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3cebc7b5-afdf-4e8e-937b-b74c6e4509ec
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "been a bigger number, it would have been 5 or 6, then what would the san do, it would have taken it forward by one, yes, okay, the absolute value of mine, in absolute, the sign ends, right, it will become 5.5, if x is not equal to five, then do this, otherwise do thisSo it is done, now it has become easy to do the expression, right? Okay, so in this we have seen many of our operators and all the things, I will also give you this link inside the group, so you can go through it again, okay, there"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 47e23890-a3e6-4793-ab31-49b668e729b4
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "so you can go through it again, okay, there are some more things which were not there in it, we will see them here, see, just a while ago I had talked about what we have, what would have happened, now here I am writing 12 and 20, what would the answers come, there is no comparison expression to evaluate here, okay, there is no comparison expression, it is like that, but if that comparison operation would have been an expression, then what would be its result, true or false, if any comparison"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d88080cc-036b-4fdc-b7ff-336f3b104f0b
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "be its result, true or false, if any comparison operator would have been applied, what would have been the result, true or false, when there is no expression, but here what is a value, there is a value, so when I said what is truth, having a value, then what will it return, true and what will this also return, true, true, by the way, there is y and operator, so it needs only one true, now what is the answer, I will not tell you by running that. Tell me the reason, when I execute it, it will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: a9a0e7e3-8798-4bdf-81b7-00204ffc8277
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "Tell me the reason, when I execute it, it will return 12, okay, and if here, instead of and, there was an and operator and instead of and, both are true, then and would require all u, then why would the result be like this? Now see, the thing is that and is very clever, okay, it is exactly like this, I have to ask you 10 questions, if you answer even one question correctly, then you will pass, you will pass, so I started asking you questions, what did you answer to the first question, you gave"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 7bbefad8-3320-48ff-9bc5-3508e5d18b1a
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "did you answer to the first question, you gave true, you gave the correct answer, then I will tell you that you will pass, the remaining nine questions will not be asked, similarly, what are we doing in the expression, which is the expression of and, it waits, as soon as it gets true, it gets terminated, my work is done, come out, I got true, one work is completed, okay, so when this expression started running, it did not run completely till it gave 12, ahead there is and, just the first one"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d45abb73-df8d-4834-9a88-a42efd7bc652
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "gave 12, ahead there is and, just the first one has become true, from here it returned, okay, and what does the and operator need here if he gets 10 out of 10 answers correct then what did he do first, now hisWe are compelled to go till the end and when we reached the end, what value did we get? It got 20 and it made it 20. If I put another end before this and put another end here and another end here, then what will be the answer? Okay and if I do the same thing here, if by doing and and, it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 03bd8458-c58b-4e4e-b4a3-6ee9c8adcf62
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "I do the same thing here, if by doing and and, it will remain 12 only because its work is done here. That's it. So, let's move next. We have seen the expression. Now we will move towards the conditional statements which we were just seeing. What are conditional statements or we also call them control flow. Okay, what is there? Inside it, there is an else statement and if else also, okay, it is not a switch, this is it. Now we have control flow, the way we have just seen, if this thing becomes"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 40eef33d-cdbe-416e-9fab-d1d4246735b1
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "the way we have just seen, if this thing becomes true, then this work will be done. If this thing becomes true, then this work will be done. It is a simple thing, like I take any value or, similarly, to take a value, we have taken a value of 20. Now what am I writing here, if I, if a, that It is smaller than b if a is smaller than b then what to do, I put it here, a colon is made of a block, see, I hit enter, it comes here, we call it indent, it comes here after being indented so much, it will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c217b490-4898-41b3-a712-23a59979eadd
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "comes here after being indented so much, it will not come here directly, like if we talk about the colon, it will understand itself what to make, it has to be made, a body has to be made, that if this thing becomes true, then what work do I have to do, okay, I will write here, brother print, what do I have to do if a becomes smaller than b, then yes, so cook food and what else do I have to do, I have to study Python also, now I execute it, empty f ko ya ai became cute why because what is this"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 2fd96e22-c9cd-4c72-a462-082bde497d26
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "f ko ya ai became cute why because what is this condition, if it becomes reversed here, it becomes h now what is this condition, what will come out, it will be false, it will never come inside its body, it will not come inside this block, okay, I ran it, no output is coming because I did not tell it, I had told that if a is smaller than b then do this, if this does not happen then what to do, I have not told you, okay First we executed this, then we modified it and executed it but no output is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 45131e72-e0c1-4e20-965c-f5486b754a8d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "we modified it and executed it but no output is coming. In the third time we also tell it that if this does not happenSo what to do if A becomes smaller than B then do this otherwise what to do otherwise let's go so what will happen in this case this will work and if I modify here okay what will happen understand this thing if this block condition is true then this block will be acute this condition will be false both will not be executed both will not be executed now see what I am doing here"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: b0997c11-905e-44f5-b14b-d09a8a48b949
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "will not be executed now see what I am doing here here I take good input from the user what do we do for that like I have kept the price here we use the function of input listen brother what are you telling tell everyone friend you are reading secretly the price it was taken what is the price buy laptop do not buy eggs as you will have to buy four five so what is the price of eggs by the way what would we say go to the shop and sell the eggs what is the account we would also tell what account"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 4d8ae072-ebb1-4708-9bfd-06ef259ac87a
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "is the account we would also tell what account how did you sell the eggs what is the account what is the dozen ok now now what condition am I putting here if the price should be less by how much it should be less than the price of a dozen take the price of one egg if less than 20 If there is one egg of y, what should I do? What should I do? Give a dozen, give a dozen, okay otherwise, just give one friend, okay now, now it depends on the price, which block will be executed, okay, it depends on"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 4c6af909-4631-41e8-a81e-a7e9032001c1
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "which block will be executed, okay, it depends on the price, which block will be executed, so type, okay, let me tell you, now what have I put here, the egg of y is of 2, now an error came on y, what is this error coming for, now first of all understand that whenever input is taken, its type will be a string, no matter what you are putting there, you are just putting a number, but what will be its type, let's see, I will show it here, again I copied and pasted y and I am saying here, type whose"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 8bc88b2b-bb9b-40fe-a379-441ef425a230
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "and pasted y and I am saying here, type whose price, put the value on y, what type is coming, if I am writing a number, whether I write a number or write anything, its type will always be what, so that's why I will have to typecast it, okay, how to typecast 45, we had also seen in the previous class, what should I do with st, what with inger, type If I cast it, if it is coming in string then this will become a number, okay this will become a number, if I cast it to thisBut if I try to print it,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 997cfc46-6086-456d-a00c-298471fc1389
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "if I cast it to thisBut if I try to print it, you will see that it is coming with quotations, print price and here I have written that the price is coming in coden, let's say we are not putting it in quotations but what does it take on the event, it saves it as a string, so we have to explicitly type cast it so that this error goes away. Now what will I do here, one way to type cast it here is to type cast it here, but I will not do it, as soon as you get the value, the value will come here in"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f004c0ef-1ffe-4a35-a226-a98b01add823
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "as you get the value, the value will come here in which form, in this form, what do you do with this form, make an integer here and then later put it in the price, first make an input, and later assign it to the memory, go to the price as an integer, so now this error of ours will not come, take only one and if it is of Rs, then one dozen, today I am understanding the point, it is a simple case of I Else, okay, now tell me any other condition, whatever you write, we pass or fail on this, take"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d5eeed18-e102-4e5c-81d2-fbf414f110dd
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "whatever you write, we pass or fail on this, take the marks input Let's input marks, enter your marks, as you input the marks, we will type cast it and what will we do brother, if the marks are less than 50, then what will happen to you brother, otherwise what will happen, you pass, okay, what is going to come 56 p, similarly 45 p and tell me some example, let's write it in big size, what should I do in the ATM machine, but we will also have to keep the user name and password, right now, so"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e8ccb066-8835-488d-9c3c-1ac31e774a9f
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "to keep the user name and password, right now, so let's do it like this, now I say here, brother, I have saved the user name, for example, this is the user name, okay, we will write the program like this later, when we read a lot of things and I have kept its pin, okay right, now what will we do, now we have to check these two things, in this, multiple check has been done, what happened, this example will be done later, first let's do multiple check brother here, here what did we say, just now"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: def0e8cf-2136-4549-8b49-97ba54b150ce
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "brother here, here what did we say, just now we bought eggs a while ago, now let's say this again, we have the price, okay, what did we buy now, tomatoes, what do we say, how will we give tomatoes, okay, how will we give tomatoes, kg of tomatoes okay we look at the price of tomato and also look at the quality so in the same way I am making the input, what can I say about the right quality inputThey are good, right? Yes, take them. So, what are two things? Now, when we have two things, tell me"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: bd108034-12bb-4efb-bcef-1e4f8d747c45
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "two things? Now, when we have two things, tell me if any one thing will work, if any one thing will work, we will buy it. We have to see both the things. Now, bring it to mind. We have just read the operator and rater, so if both are there, all the conditions, quality and price should also be right, then we have to buy it. Amma said, son, if it is cheap and good, then buy it. So, we will have to see both the things. We will have to see the cheap ones as well as the good ones. This is what we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 00db6021-8cde-4536-a31c-9dafc30d370c
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "ones as well as the good ones. This is what we call nesting. Rather, I will do the easy one before nesting, which is called multiple multi. It will be easily understood. Some people may find it difficult. We asked the price of tomatoes. Okay, now Amma said, brother, if tomatoes are expensive, then buy curd. Don't buy tomatoes. That also works. You will know from the wedding. So, the prices have now come here. Now, what am I saying? Here, I say, brother, what is the calculation going on about"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ef2da877-8d43-4048-8c76-d8b7da458345
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "brother, what is the calculation going on about the price of curd? Curd, curd, today it is not so much. We are going, right now our focus is on this and you are saying right, okay, what about curd, sir, is it okay to cut it, now what did I say here, if the price of tomato is less than the price, then what to do, brother, then give two kilos, okay, but if this does not happen, then now we have other choice, when we will have another choice and this condition is not coming to us, then we will"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 9819c612-0839-4428-a44a-a6bc977e185b
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "this condition is not coming to us, then we will come to else and we will write it in short form, L means else, if this is wrong, it will come to S and further we will put another choice, what happens, if the price of curd becomes less, then brother tomato and curd are cheaper, then what should I take, take one kg of curd, I understand, else, if both are not coming, then come back, today what is it, I did not understand, what did I do, if one is not right, then check the other, if the second is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1594b79c-3980-4940-9a30-1bcc869c765d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "not right, then check the other, if the second is not right, then try the third option, keep going till you find the right one and it will keep coming and when you find the right one, then it will stop there, which operator does this? isn't it, when we get it from u, we take the same value out from there and the rater is parallel to the multiple if and the and operator which is nested will be visible nowNow we will talk about what have we done here, else, I can also write y, see, I should first"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 00dba7a6-14b6-4a25-9069-81b670021d5d
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "else, I can also write y, see, I should first create the else block, first create the else block, put the else block inside it, if the condition of i goes wrong then it comes in else, now another condition is being checked in else, if it goes wrong then finally it comes in this else and what is written here, come back, so what has been its short form, eh, exactly, this is just removed from y, take it up, there is no such issue, so now I will run it, what does it say now, where are these ones,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 544bfe84-d88b-4957-9b12-42dd03d38b79
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "it, what does it say now, where are these ones, okay, what is the tomato kilo, we have taken 200 kg, then what is the calculation of curd, curd and one power, okay, what will you take, take it, okay, just keep it till here, you have been thinking about such small things while sitting at home, so just keep writing its code, code ifs ifs false, keep doing this, this, this so that your hands on remains, you can write any question in it, now simple simple cases are running, you can also apply"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 47e30938-7f89-43f6-9a17-7410ee3beb58
encoding: FLOAT32
metadata:
{"source": "nasir/python_operators_and_expressions_solving.txt", "chroma:document": "simple cases are running, you can also apply ternary operator. t"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: dbbfde21-e4d6-44e6-b7fa-6a8b4d09635a
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "Okay, we had taken the concept of inheritance, what is inheritance, please tell me, okay, someone else should tell, okay, you tell me, like we made a company class, the people at the back should tell, brother, it is a class quickly, okay, see, the concept of parent and child gets implemented when inheritance gets implemented, when I become an irritant to a class, so if I sit and say that I will create a class from the parent class, the parent does not exist right now, then what would you say,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: fe020f85-c451-4ed6-9436-1283b5794ce1
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "not exist right now, then what would you say, look here also, by definition, what is the use of this, when this property is created by the firm and the other class is created, then what will the other class do, it will become the parent, so if it is not the parent from before, then do the parent class, okay, so what would be the benefit, or the promote code, use and publish, the relationship between the code would happen, and what happens between the classes, a relationship is formed, now we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 0fc83b3d-53bd-432d-b196-5771e685c5de
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the classes, a relationship is formed, now we will see how the firm does it, so we had done some work on this, abba son, abba child, that today we have started doing a work, I am a simple I will take it from the example book. Okay, I will take it from the book of our course, classes inheritance. Okay brother, we had a Car class. Here we have a Car class. I am copying it. Okay, this is a Car class. I indented it. I created a function and inside the function I returned it by typing this. Okay,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3e7cec72-e525-42ba-8c8c-2d6f9bab3757
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the function I returned it by typing this. Okay, here we have a simple Car class. Are you seeing anything new in it? I don't think so. It is the same it method. What is it doing for us? It is taking three things. Model. It is a function with a descriptive name. What did we do inside it? Space Make Space. What did we do with the model? We created a new string. It was named as the long name. It was printed and returned. It was converted to title case. Since what we had would be in numbers, we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 61509305-eeb6-4834-a8c1-174cef93265f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "case. Since what we had would be in numbers, we converted it to a type. It is easy to understand. Okay, after that, we created an object called my new car on the left and gave these three parameters. DA4 2016 and said to print, my new car. Do run the function get descriptive name and print the value returned. Okay, so what will this do to us? I did not indent 10. Okay.This one has written it back, it's fine, everyone is understanding it. If anyone doesn't understand anything in this, then you"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ea9d2d2b-efc3-4a48-b335-2ba7cf7c5f55
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "doesn't understand anything in this, then you can ask on the spot, ask questions, what should I explain, look, this can never happen, if I say that start again from here, this will become strange, this is not even possible, you tell me what is there in this, I am not able to understand, do I understand? [Music] What are you saying, what is this, look, we had read that inside the class Atria Get Descriptive Name, when someone calls this function, what will be written with it, year, make and"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 72e49eeb-0a32-4792-988e-2cb80648d9c8
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "what will be written with it, year, make and model, these three together will form a name. When we also ask about a car, what do we ask, which car, Corolla 19 1 17 model of 19, Renault 19's, if we don't say these three things, then friend, if we don't give a space, then this will come out. Basically, we should not even do it like this, if we format the string in our old way, even then our work is getting done, we should keep doing this, we should leave the format of the string, this is a"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 7ef753e5-0749-4d74-8be1-c5f244878aff
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "should leave the format of the string, this is a difficult task, put plus plus, do this. What do I want? I want the y. I put brackets. y. y. it's low. y. now there's no need to give space. I'll give space right here. By doing this, my space will come. I won't even need to typecast. ok. which one. this. when we know that this object has been created. now forget to print. now forget to print. this object of mine. which function is this object calling. get descriptive name. what will it do? it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f52b75c8-afa7-4b66-a4cd-adb7c22281ac
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "get descriptive name. what will it do? it will create a long name by combining all three things. and after converting that long name to title case, it will return. this return value will return. definitely the one who called, this long name will come back. y. it's coming. see. it's coming. if I print it, then the quotations will end. y. it will not show its value. it will print it. ok. any question in this, yes brother, okay, so you make it like this. don't give space. bha, this low space is"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 39b4f838-71ba-477d-9770-cfc9beaa8412
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "this. don't give space. bha, this low space is over. I'm not liking it. this low space is over. ok. yes, in both [music] not here. it's the name of the function. yaar. so variable. I am creating a variable, don't even create it, friend, you can also delete this, I have cut it from hereHit and said return or directly what should I do instead I am saying directly friend return this by dot title no problem now I am not storing the variable we store it in variable so that if I need it later then I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ba786755-7e56-4bd7-98f9-d63082e8c838
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "it in variable so that if I need it later then I can call it with the help of variable but if I don't need it then I said make it from all three convert it to title and return it it doesn't matter on any answer it just doesn't matter that value is no longer with me in variable inside the class I cannot use this name created anywhere again because I have not stored it inside the variable if I need the full name again somewhere then I will have to create it again because I have not stored it okay"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e9406e78-050f-4cb9-a63f-df7c6890ec05
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "create it again because I have not stored it okay now quickly moving forward this setting a default value as an attribute inside the function I had read default value if someone does not send then that default value is used inside the function everybody remembers this who doesn't remember and if they remember then why don't they raise their hand and who doesn't know about default value from behind what is your name we doubt remember the name ok default Seeing what the value would be, I said"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f50df1d1-af78-489f-8539-252d6f355dea
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "ok default Seeing what the value would be, I said make a function of D, it has A and B and what should I do, return APS B, okay, I called D and I said P do two, he gave the answer, okay if I don't give P, an error will come, but if I keep the default value of A as zero and the default value of B is zero, now if I don't give my value from here, then which one will be used, zero zero will be used, if I am saying no, then give the value of A, if no one gives the value of B, then take zero, so now"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 586099e5-13fa-47bd-8121-16ed39e3f75e
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "one gives the value of B, then take zero, so now if I give the value of A as 100, then what will be the answer, 100 P 0, so what is this, the value of C default value came inside print, we opened the function and saw what is the default value of separator, what is written in space and P default, this default value is already written, if I provide the separator myself, then this one will not be used, rather the one that I will give will be used, okay this is what we have default value A here,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3cb78dee-d6b9-4d88-9c84-c8a248568f8c
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "okay this is what we have default value A here, now as I say, said make model what will happen if someone does not supply earBut if he is supplying then 16 but what will happen if he does not supply it brother 2024 this is the default value right whatever you give will get priority first I have given 2025 so if you supply 20 then that will be used okay it's done now what are we saying that setting a default value of for an attribute give the same value we took the same code okay and what did we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e6ef4d1c-4a0c-4bb7-8ed9-7d967d741ac1
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "value we took the same code okay and what did we do brother after copying it was okay I indented it then indented it then indented it get descriptive name it is saying old one take the old code okay okay then read odometer intented it then we created this object created an object printed it control x created another object printed it or made another call okay look now just understand [music] here we created a self done odometer variable and inside that what value did we assign it zero set it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: d414a1fc-8d72-44c6-8291-930d8275d7dd
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "that what value did we assign it zero set it okay what value did it become its odometer did not take here we asked for odometer reading from the user okay what should be taken user is creating an object new car cut Tell him what should the meter reading be, because when a new object is created, what would be its reading, that's why we took it here, so that there is no demand from the user that if I write it here, then it will become mandatory for the user, it's fine, and then I will put zero in"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 314b2836-955f-41eb-b7f5-8fef16e57242
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the user, it's fine, and then I will put zero in it, so if the user doesn't pay, then it will be zero, but if the user pays more, then the meter reading on the new vehicle would be 500 kilometers, which should not happen, it will be like this, that's why I have kept it here, not here, understand again what I am saying, if I say that the auto meter reading is zero by default, okay, the default will be zero, remove it from here, okay, from here, whatever reading comes, take it, if someone doesn't"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 61f13e31-faec-4b61-b6aa-1233f27301c9
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "reading comes, take it, if someone doesn't pay, it will give zero, but the problem will come when someone pays, brother, what should be the meter reading for a new vehicle, if someone puts 1000, then what will you do, it will be assigned zero, that's why we are not asking him that brother, don't give it, we know that the meter is zero, so it will remain zero, like this What have we done? We have assigned a value of zero. What is this? We have assigned a default value.Aboot has three or three"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 778e329d-effc-49ee-9270-e91d6310f60f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "assigned a default value.Aboot has three or three when listen brother this question is absolutely correct when this object is created he will run to whom he will run for treatment and what will happen with this how many values \u200b\u200bare coming from y three values \u200b\u200bare coming so you are also happy now below here I am explaining the same thing we are giving value to it from our side okay here I will do more and more here brother who will be the self dot owner I said by default owner will come no"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 486d7456-4ab8-4583-96e4-e9ec850bb7b9
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "dot owner I said by default owner will come no problem this does not cause any problem to the user the laser is saying that this value here this last one value will have to be provided okay where at y leave it blank leave it blank right now it is common sense it will go wrong leave it like this it is asking for y value assign from y so it is by default so we do not need it okay we did get descriptive name it came to us now what am I saying that brother tell me the odometer reading the car has"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 470aaa8b-5678-4144-8bbe-b524da3a55b9
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "brother tell me the odometer reading the car has run zero miles how many miles has run zero miles here called the function of read odometer it told how many miles the car has run Miles have been driven, you format it as it is with F, then you don't have to do all this, no method, no, the class is created once, whatever objects you create, if you add new things to the class, then you don't have to create the object again, the old ones will be available to it, that's it, okay, I understood, we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 6dbdde86-5540-4a32-bd1a-9b964f7aa150
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "to it, that's it, okay, I understood, we called read odo meter, from here read the odometer of the new car, what is the reading, brother, just check it, I said sir zero mile, let's go, yes meter, okay, now some more things will be added inside it, see what did you do, modifying an odometer value, what should we do, modify the odometer, yesterday I taught you we can do it in two ways, we can modify it directly or do it through the method by doing incapsulation, so when we have to modify the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 466134f5-36b8-4718-b31e-c21ff25dd01f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "incapsulation, so when we have to modify the odometer, it says modifying an odometer directly, you have learned this, rather learn both the methods, if we have to modify the odometer directly, then what will we do, we will say simple, understand brother, what will we say, first of all, take the reading of my new car's odometer and put the reading in it, this will update it It will go but it is a dangerous thing ok and when I read it then instead of zero how much will come 23 will come clear"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 06980e9a-c5e2-4ee0-a842-72b6f6427c23
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "of zero how much will come 23 will come clear simple diaryrect we have done the second method which is the value throw method, brother I should make a method not directly, I should not do it, I should make any getter setter, what should I do, I should put in encapsulation, okay so what will we do now take our same class and inside it I will copy the whole class and bring it down, inside it I will make a method, instead of read odometer, what will be its name, set odometer this has become get"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f57a54cf-2790-45d9-82bb-52900ab22613
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "be its name, set odometer this has become get odometer this is which is bringing the reading, it is getting the value and what will be set odometer self when it sets it, it will also ask for the new value, right, new reading, now what can I do in the new reading, some smart person should come, like people do, they get the meter of their motorcycle reversed, the gas is running low, the car has run 5000 kilometers, I have gone to the mechanic, I am going to sell it, it will cost a lot of money,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 12a200d2-f4e9-4864-a0cc-94b525cd5c71
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "am going to sell it, it will cost a lot of money, the new reading of the meter, how much is 1000, it happens like this, so what are we going to do, if what is the new reading, less than which self dot zero not the old reading, if what is the new reading, I am putting less If the person is taking old readings then what will we call him, he is not becoming a cheater, he is not doing ding with us and if it is not so then what should I do brother, put which ding in self dot odometer reading, okay,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 92549606-d4b9-4f2a-b3d9-c416019a56b0
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "which ding in self dot odometer reading, okay, now it will come through the method, it has become set odometer, change it and get it back, similarly the read is also doing the same thing, no matter what the name is, but the fanty is getting set, so I set the gate, now this is done with me, now let's create the object again, we created the object again, g odometer, okay, if someone enters it, then he will say brother this will not be made, I will keep telling you now, then it will be understood,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: abd42f33-4c73-4bfa-8c83-6c1ec4578774
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "keep telling you now, then it will be understood, get descriptive name, okay now I said my new car, my new car, please gate it, what will you gate it, how much will the odometer come, zero, okay, now it happened that my new car ran 10 kilometers, okay, so what will I say brother, increase the reading and put how much in the set odo meter, put 10 kilometers, he put it, now I say my new car, please gate it again and tell me how much reading is coming, how much will it show, brother it will show"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 4eb48536-a1db-4074-a5b7-3f7836205d77
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "how much will it show, brother it will show 10, now I I came again and said my new car dot should be reset again and the meter reading was 5 kms and now the car has driven 10 kmsSo even if it goes in reverse it will not be five it will be 15 only now if someone puts less in it then it will not let you put in it rather what will it say it will not happen like this it will not happen now the understanding is changing my son I am also saying that if the new reading is less than the old reading now"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 9c76ff18-8139-447a-8eef-e5e8f4626bc1
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the new reading is less than the old reading now what is the old reading now what is the new reading pa listen to me what is the new reading pa now tell me tell me yesterday you saw on the meter it was 10 kilometers okay always you brought it in the car now will there be five reading on the meter will it be beyond 10 [music] no it cannot be five so if someone tries to make it five then what will we say son take it forward ahead okay so that's why now when I put it here what does it say brother"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: de06df0f-b7cf-4ff0-980c-a69b86653f68
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "now when I put it here what does it say brother okay sir I don't remember an hour ago so what should I hide talking about yesterday hide it it will come its turn will come just now it has not come here I understood that thing okay well now go back to modify get set we had read it earlier okay this has come update autometer this is what it has written if the mileage is more than the old one then will give you can roll back okay the method increment ordo pea inheritance inheritance inheritance"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f01465fc-e89f-4c10-a9b1-ba39022e26e2
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "ordo pea inheritance inheritance inheritance this we have it now here we have created a class which class have we created electric car okay we have created this class electric and from which car it is inheriting from car ok listen to this carefully don't talk ok why did we inherit electric car won't all those things be there which are inside it ok let me change the question I am saying this brother there is a tree okay and there is a neem tree is it not a tree can I say this brother name tree"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: f3f97a2d-ecbb-4e53-92a0-834549edf81f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "is it not a tree can I say this brother name tree it's tree okay can I call it this electric car it can I say this chair is a furniture furniture doesn't come okay can I say that the shirt which is a buckle can can I say projector it's screen okay coming so when you have inheritance relationship and it should be in relationship okay now You will say dog \u200b\u200bhuman be dog human if it is done the other way round then it is also ok, some property gets acquired [music] but when we are writinIf we look"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3795763d-c3c5-4003-afaf-e4bcdb2725d5
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "acquired [music] but when we are writinIf we look at the relationship, should I easily connect it or not? Why, if I connect an electric car to a neem tree, will it refuse me? No, I will not refuse you. You don't have to use syntax for this class of electric car. Okay, but you will use your common sense, brother, my purpose of doing this was that I could connect the old written code to my function. So, are there such functions in the neem tree that will be useful in the electric car? If I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 57796c73-26bd-4d64-8374-6985cff8aa85
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "that will be useful in the electric car? If I connect them, even if I connect them, they will remain virtually useless for me and I will not be able to utilize them. Okay, but the functions of the class of a human being will definitely be inside a student. He is a human being, he eats, drinks, sleeps, dies, wakes up. Okay, yes, a student is an addition, he takes holidays, comes late, pays fees, fails in exams, these are additional properties of the student. [Music] No, but he needs human"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 2cfc2eb7-b784-427d-9144-c02fd2934287
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "of the student. [Music] No, but he needs human properties, doesn't it mean this inheritance? Okay, there must be some, it should be there. We will connect it. We will not connect it. If this If there is a relationship, then we should mark that class. Okay, so now I am also saying that electric car is a car. Okay, but along with that, the car is also a car, so there will be some problems, right? If it runs, it will not run, it will not run, so we have marked the car inside the electric car."}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 90f09a02-b6d6-4598-862a-a369a815f233
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "we have marked the car inside the electric car. Okay, we have created this electric car. What is the make of the electric car? What is the electric car demanding from us? It will have its make, model, year, and it can also demand some other things, like, what is its price? How many amperes of battery is installed in it? Okay, and that's it. Let's give the price and battery, that's enough. Okay, now look here, we have used one. What is super? Super is at the top. Super bucket is at the top. Why"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 75cb71bc-8549-4d4e-aad2-64c36b0af605
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "is at the top. Super bucket is at the top. Why have we used it? Look, what object am I creating here? Please understand what object am I creating with the help of the app. Okay, like I will cut the object, it will run to its class, it will be like this. It came to it. It said, what is your make? What is the model of Tesla? Your model S is which year was it made? How much is your battery worth in 2024? How much did you spend? How much did you spend?What happens next when these things reach here,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: c0cd958a-8321-4e4b-9a66-5025bb245a09
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "happens next when these things reach here, then what does our class do inside the variable, it assigns all these things, it gets them assigned like this, but now how bad would I feel if I start assigning them here, said make, make, dot model, model and self, year, year, dot price, price, dot battery, okay, I got all of them assigned, when I had to get all these signs done myself, then what was the need for this, washing clothes, making breakfast, what was the need for getting married, earlier"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 44e6bd9e-be0d-4e6d-aa7b-2a0351de1eac
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "what was the need for getting married, earlier we used to use one pair, now we have to do two, what was the need, he said brother, no I am not doing it, the iron got down, here what did I say, hey brother, you can do it, come now what did I say, brother, I have brought you here for rest, so do whatever you can do, what can you do because what all things are present with it, a model year and odometer will come to it, whatever you can do, you have the ability, do that, the rest whatever work you"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 107f9047-c272-449d-87e2-8defc7129c12
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the ability, do that, the rest whatever work you cannot do, I will do it myself, okay, do the rest of the work, so from here we started I diverted it towards the super class that whatever work this super class can do, it should do it and I am just telling you to explain that I have sent it there and there is no need to send it, I have come to your house, okay, virtually here, okay, I am telling you to explain that after taking this much stuff, I will send it after that, go and do it, make the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 102ee10a-2b33-42ba-8cb1-8cedded58b62
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "I will send it after that, go and do it, make the ability with you, the rest I will do it here, but it is fun, so in this way, I was saved from setting the three parameters, okay plus now I have come, now give me the description of the electric car, okay, what was the function on this, get descriptive name, good, should I make it again, so why did I bring it, you already have the ability, that function is already made, that function is already made and this is also available, brother, now I do"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 34571323-5ed0-4bbb-bb60-68f4a56b2973
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "and this is also available, brother, now I do not need to make it again, then in the same way, which ones are there, brother, set autometer, get autometer, this is already available to me for electric car, let's see, let's see, I made this, my electric car descriptive name, this I have not created the function for descriptive name here but you will see that my Tesla has a descriptive nameThere is also the name of the autometer, there is also the make, model, price, there is also the set"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: dada15f5-39dc-42f0-8c2c-5a8965f8fd45
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the make, model, price, there is also the set odometer, from where did I bring it in the code, okay, it has come through inheritance, so now I have to repeat all those things, if I have to write any further text, you write that here, there is no need to repeat that work, okay, did you understand this, here if I say get odometer, then how much will Tesla get, zero, which car's Tesla is coming, Tesla's, okay, there is no problem in understanding this, okay, let me first try to understand the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ea0b3505-039c-4272-afd9-658f6694bf3e
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "this, okay, let me first try to understand the question, what have you defined twice, the make, model, which is it, you must have defined it here or you defined it in Tesla, in Tesla you are saying that I should also do super, if you have created different cars, have you created all the cars, you have created only the car, so understand this, I have a car class, okay, what do I have from the car class, two cars were made, which ones? Brother, who made one car, Honda [Music] and one car Which"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 067f6df0-6e31-4999-be81-00b376779f6a
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "who made one car, Honda [Music] and one car Which Suzuki did you take? Okay, now I have this class divided by two different classes. Okay, maybe now I am going to make an electric car. To make an electric car, I can also do this that I make an electric car here and also divide it. Okay, I am not doing this. If for example, I am doing this that I am connecting the electric car with the Suzuki car. With whom am I connecting Suzuki. Now tell me whose properties will it have? The properties of the"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ded36b0d-6925-4844-ac16-0ef04d7b9b4b
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "properties will it have? The properties of the car and the car. Okay, it will have its own properties. Will its own properties come in the electric car or not? So, that is why the electric car, the car which has inheritance classes standing with it, none of its properties will come in it. So even if it is divided five times, the back model is different, it does not have any reach there, its reach is only towards its parent. Okay brother, so okay, I understood this thing, I understood super"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: fb6c05c4-df4b-4860-9c64-fa9ad31d68b6
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "okay, I understood this thing, I understood super well, where does this super take you [Music] Yes, so that direct electric car What a thing, it comes on time. Hey, I am just saying this to explain. Maybe Suzuki has brought out something like this, Tesla orPeople liked the tired engine body tired if there is a slight bump then just the child should sit, the body should sit, the tail one will make a tired like this we will take some features from here, right, so to explain that, to make a"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 3ec07138-40f2-427c-b67c-4327e29bf193
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "from here, right, so to explain that, to make a sequence yes, okay, okay, this is a childhood question that you have asked in 55, if we read from the beginning, if a variable will be created again, then the old one will be overridden, when you define the car class again, then the code from the old one will be written from the memory, but the new car will be in the memory, this is what we did now, but this car that I have created above, I also created a class car, it did not have many features,"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: fe0bd32f-801b-497d-bdc5-38f6b0bd1de0
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "a class car, it did not have many features, so now that is gone, now when I execute this one, then when I call here, which one will be there, definitely the latest one that I have executed will be there, ok, let's move forward, defining tribute a method for child class, now there are some attributes for the child class, understand, see what I am doing yes [music] no, understand brother, what are we doing now, I am just removing this from y, I am also removing this for some time, follow the code"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 2ed1d159-0cea-4361-86da-c8c7fc5d48c6
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "also removing this for some time, follow the code of the back I will go with it, okay, this is also fine, okay, now what am I doing, I am putting a parameter inside the electric car, which parameter? This electric car is redefining the car, here self dot battery battery size electric battery is installed, we have written its size, okay, what is the size of the battery, now I have created a function on this, describe battery of the car, no, which battery, okay, car hangs, battery size kilowatt"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: df36fd97-58a0-4219-b724-527a322bc88f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "battery, okay, car hangs, battery size kilowatt battery, next I called this, created an object of my Tesla my Tesla, okay, after creating the object, called the function of get descriptive name, what did it say after that, describe the battery, tell me what is the battery, so it says brother 2016 Tesla Model S and there is a 70 kWh battery installed inside the car, okay, we are going towards an important thing, let me see, the book has addressed it, no, overriding method from parent class, now"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 068cca07-32a2-4fb7-86e2-de7468cfa93a
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "it, no, overriding method from parent class, now what happened is that my car is the car class, which is the car class, I should first create a heading, I am not entering the code inside it, otherwise later you They will say, I don't know where you reached from, I will make this heading and get the whole code again.Let me see this heading is done we have an overriding method form pet class my car class whose code I am taking again okay I took its code again I am creating a method inside it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 7fbb8eef-9877-4105-8c66-cc859a75730f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "its code again I am creating a method inside it [music] hmm f gas tank gas tank does not mean a car that runs on CG rather it means gasoline, that is, petrol so the word petrol is not used all over the world they use the word gasoline or gas they use fill gas so I printed car tank bf on this [music] okay now I have printed this car only Tesla has printed it rather it has printed the electric car and then Tesla was made and when Tesla was made then Tesla will get all the things of the car now I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 853b85da-549f-4482-9a44-957d5c9d4118
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "Tesla will get all the things of the car now I told what do you have my Tesla what do you have so my Tesla said I have the battery size as well describe the battery as well fill the gas tank ok fill the gas tank we got stuck why did we get stuck where did the tank come from in the electric car electric cars do not have a tank okay that means when we call a class That inheritance was in the irritant class, but in a different style, in a different style, I mean, Abba was a very good Balkar, he"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1c7774d2-e101-4a6c-9fbf-7e24a332b2c6
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "style, I mean, Abba was a very good Balkar, he used to sing melodious songs, he used to give a lot of melodies, what did he do, yes, it was a very melodious Guru, but what happened now, this feature of melodious voice has been written in the child as well, but instead of singing songs, what does the child do, he recites well, recites Naate, recites the slogan Takbir Allah Ak, okay, that feature is available in the child, but with different body, different implementation, what is that feature"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: bdead446-43a1-4ef6-817a-98a0876956d7
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "different implementation, what is that feature irritant implementation in the child as well, what is its implementation different, one thing is that what is that implementation, it is different, so we redefine that function, okay, what do we do with the function, what was written in Abba's function, he sings melodious songs, but if that function will run in the child, he will also be singing melodious songs, so what do I have to do, I will have to overwrite this function, I will have to define"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 75426013-90c7-40c5-a927-a8b6bb464b3d
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "to overwrite this function, I will have to define it again and write there You will have to tell that the child is not singing melodious songs but melodious Nath is okay.The issue is that I will have to define this function of gas fill tank again. What should I do? A fill gas tank. Okay, and here I will say brother there is no gas tank needed in electric car. So now if someone sees the method of gas tank, and even if he drives it, what will happen there? No gas tank needed in electric car. What"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 13319f9a-54e3-4edd-b895-ee18c198ba4c
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "there? No gas tank needed in electric car. What do we call this? Method overriding. Look, there was one thing, method overloading. Listen to me, one thing was method overloading. I created a method called add. I created a method for add, okay, I called it. I again created a method for add, which takes three parameters A, B and C and adds. Okay, now if I call it, which call will happen, the latest one that was run, second first, the latest one that was executed, why would that call be because"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e3091bc8-de07-41a9-9e73-51b0d26d7ad6
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "that was executed, why would that call be because when I redefined the old function, then that function got overridden, what happened? It was not overloaded. What happens in overload, both are running. In some programming languages, overloading is going on. This has two parameters and this has three parameters, so these are separated. Okay, what are these counted, they are counted separately, in C-shape, not in Java, even in JavaScript, in Python, overloading does not happen, overloading does"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: afdb0da4-9e6b-4761-8cc4-cde20a4eebbc
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "overloading does not happen, overloading does not happen, it overrides, it overrides, for overloading I had taught arbitrary parameters, no matter how many parameters, this overloading is not allowed, overriding happens, okay what happens, overriding happens, now the scene is that if this overriding is of the method of the parent class and where is it, if it is inside the child class, then this is called polymorphism, what is it called, it is called polymorphism which is our third pillar, if"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: edac163b-0cfa-49c2-9071-bd6d2d2c646f
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "called polymorphism which is our third pillar, if you remember, yes, in chemistry also it is poly means many morphisms means many faces, polymorphism is the concept that now we have only one method but it has two implementations, there is only one method but it has two implementations, abba will sing a song with the same method, what will the child do with the same method, what will this be called Polymorphous, you have seen these different behaviors in different places, I have told you about"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: df029588-d4bf-4c1d-8d79-6861bfb92167
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "in different places, I have told you about the methods, you know, I have read in many places that brother, many timesNow I have already explained how many are there in 1 and 2. This plus is also a polymorphic behavior. If it is written like this, then it means that if it is getting integers, then it is doing the sum and if it is getting strings, then it is cutting the cone. It is a single operator behaving in two different styles. It is a single face but what is its function and what is it, it"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 1d37a04f-2d6b-4317-8807-f3834c170ce1
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "face but what is its function and what is it, it is two. So this is also polymorphic. [Music] Hello, it calculated the length of a string. And what should I do here, should I find out the length of a list? This time, I found out the length of a list. So what is the method of length also happening? We have many such methods which are behaving polymorphically. So now what concept do we get here that the gas tank must be getting filled inside the car, but inside the child, there is another"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e8643ff6-38ee-4e9b-bb8c-e0c8529a3ad7
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "the car, but inside the child, there is another behavior of the same function. It does not need gas. So one function has been performed twice, of the same name. And the behavior is different both the times, that is, if a car calls it, then its behavior will be different and if a Tesla calls it, then its behavior will be different. Now that you are understanding the point, you have understood inheritance, encapsulation and to some extent you have understood polymorphism as well. Polymorphism"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: e717ec38-1ae7-48d7-b102-471f9914dd74
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "understood polymorphism as well. Polymorphism doesn't only happen in methods, there are also three or four other ways in which polymorphism is implemented, but right now we have a short time, we won't go into so much detail, otherwise there are duck typing and many other concepts that we can do, but this is enough that you are able to understand that friend, this is polymorphic behavior. The fourth pillar is what? Abstraction doesn't exist in Python. Abstraction is a very powerful concept, but"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 79d504e8-fae3-493d-80da-fa6a65bba234
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "Abstraction is a very powerful concept, but this concept doesn't exist in Python. But what did they say? Someone just added it in the same way, someone created a separate module. I have published that if anyone wants to use abstraction in Python then they can take our services, import ABC, what is ABC, abstract based classes, don't worry right now, we are not reading it, it's okay, now let's come to the main idea first.Let's focus on this, we are not touching this advanced level topic right"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: ae75cf1e-046d-44b4-98ac-566eb86c2537
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "are not touching this advanced level topic right now, I understood that when I have created a class, then now all its things are coming to me, now I am not doing this, everything, property, props is coming, all the things are coming, so now if I see that brother, okay, it has come, I have benefited from it, but this is useless for me and if someone uses it because of me, then a strange output will come, so what do I do in his implementation, change it, guide him, tell him, okay, an important"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 8e94eab6-c981-487b-94da-b803f8cf8a95
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "it, guide him, tell him, okay, an important concept we have to do is not an object as an instance, what is the object as an attribute, what is this that I have, a [music] abutting type, this is also what is it, okay now what I am doing is an element and this is an integer, we have also read that all these are objects, what are all these, objects are like this, right, what we are creating, is that not an object, this is also an object, so can I put this object as an attribute I am, that is why I"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: 6fc9702f-043c-4eba-9a49-4232a3dd4036
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "this object as an attribute I am, that is why I am studying the topic, object as an object, basically the object that is used is itself an object, so object as an object was made and is being used directly, now what will we do with our created object as an object, the only question is why, why, look, so look at ours, let's go brother and go to offer namaz, well done, run quickly and we will come back, you guys, okay, what was our topic, good, what happens in object as an object, that when we"}


created_at: 2025-02-04 02:36:20
topic: persistent://default/default/9e098b7d-d893-4fce-bb94-ea550f3aec5b
id: faf668e3-1632-474c-bd74-6d61b50a799e
encoding: FLOAT32
metadata:
{"source": "nasir/oop_inheritence_polymorhism.txt", "chroma:document": "what happens in object as an object, that when we have a class, then let's study it in the next class, friend."}


# collections

id: 9e098b7d-d893-4fce-bb94-ea550f3aec5b
name: langchain
database_id: 00000000-0000-0000-0000-000000000000
config_json_str:
{"hnsw_configuration": {"space": "l2", "ef_construction": 100, "ef_search": 100, "num_threads": 2, "M": 16, "resize_factor": 1.2, "batch_size": 100, "sync_threshold": 1000, "_type": "HNSWConfigurationInternal"}, "_type": "CollectionConfigurationInternal"}


# embedding_metadata

key: chroma:document
string_value:
Yes, I did it, right? Then I'll see now. Yes, I don't know whom I love and whom I hate. Even my wife says the same thing at home. Yes, there is often a dialogue, you have changed a lot, haven't you? I stay with you morning and evening. Who has changed? Well, I had explained this thing about the attribute value of the object as a attribute. Whatever attribute we are creating, we are assigning an attribute and it is an integer type value. So now we also know what an integer itself is, it is an


key: chroma:document
string_value:
we also know what an integer itself is, it is an object of the integer class. So basically here I can say that it is an object which is becoming an attribute. Why does it belong to the integer class? I have also added an object, fruit is also an object, less dictionary, everything is an object. So what are we going to do now? We are creating our own class and we are using the object of our class as an attribute. The first thing is why. So I remember we had started with the example of an Apple


key: chroma:document
string_value:
we had started with the example of an Apple car, that if I am creating a Car class. Right, so now there is a car class. There are many things inside the car class. We assume a generic car. So tell me whether all the parts that make up the car belong to the same car company. We see that the tyres are of the general company or not. We see that the AC fitted in the car is from some other company. This means that if I take the example of a tyre, then it is brought from somewhere else. This means


key: chroma:document
string_value:
it is brought from somewhere else. This means that the tyre must have been manufactured somewhere else. It must have its own class. So an object of it has been fitted on the lock. Okay, why was this done? To explain this, I will talk about building a concept. Like, there is a battery in our Apple. You have seen the battery of Atlas. We install an oxide battery in the car and do all these things. Now look, we have seen the colour of the car. There is the engine of the car and the seeds. Okay,


key: chroma:document
string_value:
is the engine of the car and the seeds. Okay, there are many such properties of the car. Keep writing, keep writing, right? What is installed inside the car, battery is also installed, now the battery has its own specialty, right, what is the batteryHow many plates are there, how many volts of battery is there and what is its power, what is its backup inside it and what else is there, now what is its price, what is the type of battery, now look, one thing is happening here that we are present


key: chroma:document
string_value:
one thing is happening here that we are present inside the car class and we have to keep the details of other parts as well, so what will happen under one roof, everything will get mixed, the names of some properties will be such that they will be similar to the battery, like the price is the price of the car as well, so if we start keeping all this at one place, then what will happen finally, we will not be able to understand later, which variable is whose, it is exactly like what is happening


key: chroma:document
string_value:
is whose, it is exactly like what is happening under this roof, the car is being assembled and the battery is also being made here, the tyres are also being made here, right, after some time all the labour will be fighting with each other, why will they be fighting, brother, this thing of his is not being found, its use is such, so just like all the assets and behaviour, what will happen if we keep it under one class And then one most important thing is that battery for emal is being created in


key: chroma:document
string_value:
is that battery for emal is being created in this class and that battery will not be utilized anywhere else and will remain inside it only. Now after this what do we do one more thing that what we do here is battery, let's make it a separate class of battery and give all the treebill of battery and put the object, okay so now this object which is there, I will save it in Atril, like I had put an integer object in self dot battery, I had put an integer object in self dot make, now I will put the


key: chroma:document
string_value:
object in self dot make, now I will put the object of battery class in self dot battery, the only difference is that earlier we had not created those integer less dictionary classes, but this battery class is created by us, so we can include its object here as well, what is the benefit, today you are installing this battery in the car, tomorrow you will install it at home, friend, if the power goes out, you can use it, sir, this battery is installed in the motorcycle, this battery is also


key: chroma:document
string_value:
installed in the motorcycle, this battery is also installed in the defense, so now if a separate class is created, then its objects will be at multiple places. They will also be used and management will become so easy for us ifIf I want to update something in the battery, then I will update the class once, wherever the battery is placed, all the objects will be updated, so I understood the concept that I should create a separate class and use its object here and usually this is what happens


key: chroma:document
string_value:
its object here and usually this is what happens when we are making a module, we have 10 classes, we have a main file, so we can see the main file, create its object, create its object, all the details have their own classes kept inside so that if I have to find something from somewhere, rectify something, remove some mistake, update something, then I can directly go to its class and make changes there, the changes that are visible will not be there at all, the object will be visible to us


key: chroma:document
string_value:
be there at all, the object will be visible to us clearly here, now we also do it, look at this, so now what do we start doing here, this is our ongoing process, I have the car class, which is inheritance, I will run it, rather I will write it down again, create a new file, let's do this car class in this, what did our car class get inside the electric car, the electric car The battery is installed. Okay. Now, before I go to the electric car, what am I doing here? Class battery makes a separate


key: chroma:document
string_value:
am I doing here? Class battery makes a separate battery. What all things will it have? What all things will I keep in the battery? Make of battery, which company's battery and price, what all? Okay. Then I will do the same thing. Cell dot price, cell dot price, plates. Okay, make a few functions. There should be methods for the battery. Make a method. Firstly, the same one is the describe battery. Scribe battery, everyone knows, it will be self. It is in the middle. Print all this information.


key: chroma:document
string_value:
It is in the middle. Print all this information. What is self dot make and said price. And now self dot add then self dot plates. Okay. I have created this describe battery. I am not keeping anything else. Now, what will I do here? I will take a variable and size here as well. That means I had created the size. Okay. Now, I will not use the size here. Put it here as well. There is no need for it. Cell dot size. Okay, now we have it. Now, this is a battery that some other company is making. now


key: chroma:document
string_value:
a battery that some other company is making. now we buy batteriesWe will bring it and fit it in our car, how will it fit, what will I do here, self dot battery is equal to which battery object is equal to which battery object, what does it ask from us to make the battery object, make, price, watts, plates, size, okay, if you send a battery to someone to buy a battery, then you will tell me the parameters, what are you doing, yes, sorry, this comma is hot battery battery, okay, now look, we have


key: chroma:document
string_value:
is hot battery battery, okay, now look, we have made this battery here, now I will acute it, I will acute this also and here what do I do, I will make an object of the electric car, I will name it, but what all is needed for the electric car, yes, make, model, so which one will it be brother, okay, and I would have put it in the model, okay, I would have put it here, 20, now all this information will go here, I also have to do the battery, so I will have to take the battery information from


key: chroma:document
string_value:
I will have to take the battery information from here, okay, make, price, watts, I will give it from here, which information will it be brother, the side battery, put it in the battery [music] and the side and what will the price be, okay, watts, how much, okay, one minute acute Karl this duplicate argument make in function ok I will design here just a minute a little bit it is sending hard code from here ok then I will straighten it no problem one minute ok now this battery will be this one is


key: chroma:document
string_value:
minute ok now this battery will be this one is created we have an object of electric car now what do I say inside the electric car this describe battery is also there from this I will describe electric car ok now I say when describe electric car so what will come in it bha battery size no see first understand friend what did I do a little code is good mood what did we do we created an object of electric car where will it go to the treatment of electric car it went to make it went to model it


key: chroma:document
string_value:
electric car it went to make it went to model it went to air this super was called the inila of super all three things what happened from here what happened from here inila right who did I give it to friend no why will we call brother the car call is done here ok it came after being treated from super now we created an object of battery here and passed things to the battery so this object of battery went and all this stuff hereI have done it and come back. Okay, I have created a function here,


key: chroma:document
string_value:
come back. Okay, I have created a function here, fill gas tank. Why did I create it? I had taught earlier that method polymorphism has to be done. We have to do method overriding. This is what is written below, son, in electric car, this is what I am saying. I have not created a function, but what will this function be in electric car? First, go to the end there and tell me. Now, I said, I have an electric car. Now, I want to know the battery that is inside the electric car. Okay, the battery


key: chroma:document
string_value:
is inside the electric car. Okay, the battery that is inside the electric car is from which company. So, what should I write? Let me first say, it is becoming a common variable. What do I say, how many plates are there in it? Okay, what am I writing? What will the plates give? It is telling me that there are no plates in the electric car. Definitely, there is no plate here, but what is it inside, so how will I go to an object of the electric car? If I access it, no, now it will say that I am an


key: chroma:document
string_value:
If I access it, no, now it will say that I am an object. No, no, listen, listen to me. Now, I said, there is a battery inside the electric car. And battery is an object and what will be inside that battery, the plates will go in two parts, first they went to the battery and then they reached there, where did they reach the plate, now tell me, because this is an object, first they reached the battery through the object of one, the battery said that I have my own class, go and take the plate from


key: chroma:document
string_value:
I have my own class, go and take the plate from there, okay, so this is just to take care of two steps, similarly I have to extract the complete description of the battery, so describe battery does not have any function inside the electric car, it is not inside the electric car, but describe we have a battery attached, what is present inside it, describe battery, okay, I created an object of electric car and like we were creating in the previous class, we had created so many objects of my Tesla


key: chroma:document
string_value:
class, we had created so many objects of my Tesla electric car, we were calling the method from the object, so I created a van for the electric car, yes, okay, the van is which one, this one, then I will have to receive it here, I will receive it here, I will send it to the battery, okay, I will write it again, see because those parameters were becoming common, due to this that error occurred.I was showing it now I write the make model and in battery I write what is the battery make okay and


key: chroma:document
string_value:
battery I write what is the battery make okay and what is the battery price and battery watts give me a minute just one minute watts battery size in a while you will ask what is B so I am writing the whole thing okay now I will have to give all this information while creating an object of electric car some things have been passed here and some things I will pass here this battery price size I will send it to whom I will forward it to the battery class okay so this will go to the battery class


key: chroma:document
string_value:
class okay so this will go to the battery class now I will create the object again I said come on friend let's go there hold my hand you will have to come soon to eat samosas friend salam walekum hey how are you sir you had picked it up like this so sir [music] it is very hot we should not do AC ok friend we should not do bad sound what were we doing ok we have to create an object of electric car again now we have to pass all this information which was the first one yes that was actually the


key: chroma:document
string_value:
which was the first one yes that was actually the projector was not working so because of this I will have to go to the direct system ok brother now the sound is coming very good battery I will also pass the details of the car and the battery. Now I have given all the details from here, of the car and the battery will go to the doctor. All the details will be given by the laser to its super. The thing that is to be given to the super and the thing that is to be given to the battery will be sent


key: chroma:document
string_value:
that is to be given to the battery will be sent to the battery. Okay, is it written that the plates are written, the battery make, battery price, battery watts, battery size? It is not written here, where is the plate? One, two, three, fourth, one, fourth, two, three, four. It will come here in a minute, I will see, brother, if you guys don't talk, then the matter will go on. Who is next? What are you doing about the second class? The screen is straight or it is not visible. Go for a walk on


key: chroma:document
string_value:
straight or it is not visible. Go for a walk on the terrace in the evening, your eyes will become sharp [laughs], so in the battery we have the make, price, watt, plate and size. Make, price, watt, plate and size. Okay, what have we given from here, what have we sent from here, the make, price, make price, watts of the battery, then the plates are here, okay, the size is fine, no, it happened right, where did the comma go? The color is left here, okay, even now people are talking, who is it,


key: chroma:document
string_value:
okay, even now people are talking, who is it, what is it? either electric car is here nowSo if I do describe battery, first I will have to go to battery and then from here scribe battery, okay now I understand the whole result, friend, what happened, I cut the object, how did it happen, the electric car was created first, the object was created first, okay, so in this way we can assign it to any different object, okay, now what I am going to do, we have to understand that I am creating a new


key: chroma:document
string_value:
we have to understand that I am creating a new file here, how are modules created, okay, what happens inside the modules, okay, understand this thing, whatever work we have done till now, we have not done it on Python file, now we worked in Jupiter, so what was its extension always, iva NB, okay, its extension used to be Jupiter's extension, now you will remember that the Python file can also be made, a b c d pwa, so every py file, friend, who is it, come here, both of you, and I will feed you


key: chroma:document
string_value:
it, come here, both of you, and I will feed you samosas, what did you say first, I promised that you are as deep below the ground as you are above it. B seed pwa all the pwa files will be there all the pwa files will be called modules also every pwa file is also called modules ok now see understand what I am saying now how do I create a pwa file now I come here above my home I create a new file and create a text file text file I name this text file here car dat pwa ok card pwa ok I can also go


key: chroma:document
string_value:
here car dat pwa ok card pwa ok I can also go inside any other id and create it there pwa f I am creating it from here only but the problem will be if there are any mistakes then we will have to correct them ourselves now what do I do my car class this car class first of all I take it to module see which I was explaining later we have different modules for each thing we have now I have car class here then inside this I have kept this battery class also yes yes I have kept battery class also


key: chroma:document
string_value:
class also yes yes I have kept battery class also inside this I have kept electric car class also ok now this is my module of a car in this there is car also battery also electric The car is also there, everything is there, what should I do with this file, I should save it, it is not saved, it has been saved, now I have come inside the module, whatThe writer has done import import wat on y, the mud of car has been imported, now what am I writing here, car dot what is coming in it, battery is


key: chroma:document
string_value:
here, car dot what is coming in it, battery is also coming in it, car is also coming, electric car is also coming, pva so its name is because we are picking it from car, so it is showing, ok now what am I writing here, now if I want to create an object of car class, then I don't need the whole class, I have created it for myself or someone else has created it for me, what have I done, I have imported its module, what will I just write here, car and y will tell me what to give inside it, now the


key: chroma:document
string_value:
y will tell me what to give inside it, now the object is not cut, the module has been imported, what is inside the module, so the name of the car module, the class inside it is from capital car, now how will I pick up the class inside it, look inside it, I have done import car, I can write here car dot capital C car because what is inside that file, inside that module, the car class is present, inside that module, electric car is present, inside that module, battery is present, I am not like


key: chroma:document
string_value:
that module, battery is present, I am not like that I want to do the work in two steps, how will I write from car, import car from the car module, now I don't want to do car dot, I have that class car, what am I writing, now it has come to me, isn't it, I will just create an object, make a hammer and model and this object is created, okay now I don't see the coding of the car class here, like I say, I import, import math, this is a math module which Python has created for me, I can extract any


key: chroma:document
string_value:
Python has created for me, I can extract any function from within it, okay so now we have created our module, we have created our module of car, what do I do from within this, I create an object of electric car, electric car from car import car, put a comma here, I also import the second thing, electric car, okay now what did I write, electric car, what does an electric car need, make, model, shift, then friend, this we have been doing since childhood, okay, in an electric car, I have a model


key: chroma:document
string_value:
okay, in an electric car, I have a model year, this is all, in an electric car, I have a model year, if I take a bigger electric car.I will take the electric car that we had made along with the battery, then that battery will also come. Okay, yes, today he got me killed, okay, you guys should get a card from me, you guys, okay brother, come and ride in the electric car, did you understand? Now we don't have just classes inside the class module, there are separate functions inside the module and


key: chroma:document
string_value:
are separate functions inside the module and we create them, that means even outside the classes, classes have their own functions, okay, here if I say describe car sieve, sorry sieve dot describe is sieve, describe is a descriptive name, okay, so the function and its methods are also being called and okay, this is the work, most of the time you will have to do this, most of the time you will have to import modules like this and create objects, okay, yes, it is lying somewhere else and I am


key: chroma:document
string_value:
okay, yes, it is lying somewhere else and I am using it here, did you understand? Let's see, this is our module, it is written in front of electric car, let's go and read namaz, we will talk about next inheritance. I understood the point about object attribute, I understood a question, I should have asked when I called the Car class by writing it, I could have called the battery also by writing it, but the battery is not a car, the inheritance of the battery is not formed, we can call the


key: chroma:document
string_value:
of the battery is not formed, we can call the battery as an object but the inheritance will be separate now next the inheritance that we have, we have just seen simple inheritance in which we created a class and retained it from another class, there are two types of inheritance in which we also have multi, multilevel inheritance, multiple and multi level, that is, can a class retain two classes simultaneously, can we have two fathers, not at a time, can we create two in Python, yes, we can


key: chroma:document
string_value:
a time, can we create two in Python, yes, we can create a step father, so what do we do in that, see, first of all it is a very simple concept, multi-level inheritance, multi-level retention, it is when one class is placed under another, it is placed under it, it is placed under that, that is, class A is done by B, B is done by C, C is not done by D, so This is multi levels, these are levels, every language supports this but like this, just understand this a little, it is a class, everyone can


key: chroma:document
string_value:
this a little, it is a class, everyone can see itYes, there are two methods made inside it, feature one, feature two, an object of that class was created, both the methods were called, okay, both the features are working perfectly, there is no problem in understanding this, now what did B do, just now B has done A, okay, and what is there in B, was and four, so an object of B was created, 3F of B became available, along with that, whoever will be available, will two also be available, will it


key: chroma:document
string_value:
be available, will two also be available, will it be or not, because it is read, C has done B, what is there in C, f and six, an object of C was created, in C, f is C, 3F will be two, right, because that has been done by A and B, so all the features are working smoothly, okay, we have a multi-level sequence, yes, where here, where here, this is what I am telling you, multi-level, right now one is happening at a time, right, now what are we doing below, we have created a class and this B class,


key: chroma:document
string_value:
below, we have created a class and this B class, okay, what did we create, A and B class and B both come together, what do we call this, multiple, what do we do with these multiple classes is doing this and C2 belongs to A and B and four belongs to B and F belongs to whom and F belongs to C so all five will do working okay if they do five working so what is the difference what is the ease in both there is more in this but some issues come up some issues come up yes this is also there but now


key: chroma:document
string_value:
issues come up yes this is also there but now inside this one A is different and B is different okay and in C both of these have come but B is not inside A there is not inside B because B has not done A when we are coming into the form and doing B then A will naturally come or if we are doing C then in D all those evolves will also happen which you do not need they will also come okay plus here some things happen that if we create an analogy what will happen to whom or A's B did feature to whom


key: chroma:document
string_value:
will happen to whom or A's B did feature to whom that feature four okay when B has done A then what all things of the A class came to it all three things came to it its feature also comes which we call by doing super now when I created the object of A, what object Created as soon as the object is cut, the first thing that runs is this, so as soon as the object is cut, what will be written in it will come, what will be written in it will come and as soon as the object is cut, what will be


key: chroma:document
string_value:
and as soon as the object is cut, what will be written in it will comeBecause there is no lier inside B, when B's object is created, then whose IR will it call, or will it call, understand this thing again, what am I saying, when A's object is created, to whom will it go or will it go to A's lier, what will be written, okay, then B's object is created, if there is no lier inside B, then whose call will it take, will it be A's call, okay, because B has ited to A, then the lier has come, right?


key: chroma:document
string_value:
B has ited to A, then the lier has come, right? But there is no fight between the two liers, right? But there is no fight between the two liers, right? Because B does not have it, then it means only A is present with B, right? So what will be written, what will be written both the times, t of a it of a right, in the second case, its lier is its own and this one has its own, now when we create from here, then what is going to happen, brother, A's own will work and B's own will work, because the


key: chroma:document
string_value:
own will work and B's own will work, because the same thing has happened that this method is made in the name of it, the same method I have created here again for the unit, so what will that old one do I have overwritten it which is working as a polymorphic method. Okay, remember when we said that the gas tank will be filled inside the car, but if we create the same method again in the electric car, what was I saying, it is not needed, so this one will run and in this case, if I run this, then


key: chroma:document
string_value:
will run and in this case, if I run this, then what comes out, t A and then t O. Okay, I am understanding it, it's simple. Now what is class A, its t is a feature, feature t, class B, its t and what has been done here, now see, what did class A do first, the object was cut, it went straight to its class, what is written, ok, like the object of B is cut, what is written will come to its t and then what will happen in the next line, if you call the super one also, then it will call which one


key: chroma:document
string_value:
the super one also, then it will call which one immediately, it will call the super one also, so what is written will come, t so first what is written t then t of B, then again unit of kind, not given parameter even before, so if I just say super, then it understands itself, friend, it is written ahead, isn't it my friend, super it, it is of many it, so there is only one, where is B. Now look at this, this is A and this is B. Leave the previous one, just created the class again. Now this is the


key: chroma:document
string_value:
just created the class again. Now this is the code, the latest code is this A class, this is A class and this is B class, A classAs soon as the object of S was created, it went here, now it will not go to the upper class, friend, it will get overridden, so this came first, listen, this comes, the T of A, on the next line, create an object of B, what will happen brother, the T of B will run, and virtually here another T is present which is of the super class, of the parent class, what did we


key: chroma:document
string_value:
the super class, of the parent class, what did we say, run the unit of the super, so when the unit of the super will run, which line will run, the T will run, okay, when we see this, what do we get, brother this T of A first, then T of B and then again T of the super, okay, now this is done, all the things become available to us inside the multi level, of all the levels and by doing super super, we call it, what is the scene in multiple retention, understanding class A, there is a little


key: chroma:document
string_value:
understanding class A, there is a little confusion, but you will get to know right away, class A, its T has two methods, its show method, right class B, its T, it has two methods, it has its own show method, now there is no narration between these two that they are two different classes, okay, these Who will call both of them, let C call them, okay, who called both of them, C called it of C, it of C and super of it of C, now tell me who is the super of C, now he has two fathers, right? Now


key: chroma:document
string_value:
super of C, now he has two fathers, right? Now which father will he run? Got confused, Dalak came, he will say that he was very famous, I had two fathers, so he became the son, but what will happen brother, whose unit is running, brother A's unit is running, actually which one is running, its unit will always run, the class which is on the left side, on which side will it be left, when it said super run your unit, so there is super A and there is also super B, so the unit of the class which is


key: chroma:document
string_value:
also super B, so the unit of the class which is written on the left side will run, if I do what on the left side, B, then whose unit will run, now A's will not run, now B's will run, okay, this is called method resolution order, if there is a tie somewhere, then what does method resolution order say that the left one will be executed, not only in the case of it, if the class has the same method, even then they are calling, then whose call will always be on the left There will be a call from the


key: chroma:document
string_value:
be on the left There will be a call from the class, let's come now, let's come towards that, now this show has come, the class seed show, now the show has come from show B as well, it has got calls from show B inside C as well.Or it has happened inside C and the show has also come from A inside C, so brother now whose show should I run, that will be it, whose show will run, A's will run, under MRO, the left class will run, okay, right now whose show is running, B's, because what have I done


key: chroma:document
string_value:
show is running, B's, because what have I done here, B has been done, the thing is getting clear, okay, B A, so the same work is done, it's done again, ah in it feature one show class B, A and B in class C, now see here, what did I do in class C, super dot it and super dot show, what did I say, brother, run the T of super, first C will run, then the T of super class will run, then the show of super class will run, so what will come, T of C and then it of A and then show of A show of A, right


key: chroma:document
string_value:
then it of A and then show of A show of A, right then after that when I did seed fit, run the feature method of seed fit C class, that is, feature method and inside that what did I say, ah, run feature two, where has feature two come from, feature two has come from B class, where did it come from by inheriting, came from B class, was it in A class as well, feature two was not in A class, if it was in A class as well So then again under MRO, which one will run, of A class will run, but now which


key: chroma:document
string_value:
one will run, of A class will run, but now which one will run, of B will run, okay, so ours is already running, I have said super, whose will run, super said, look again, C class has linked A and B, as soon as C class is created, where will the object go, what is written in it, will come, now what will this thing do, to whom will it go, to A or to B, what is written in A, will come, of A, then super show, whose show will run, of A or of B, what will be written in A, I am seeing class B, the


key: chroma:document
string_value:
will be written in A, I am seeing class B, the answer to this has come, now what will run on the next line, c dot fit C, whose object is of C class, there is a method of fit in C class, yes brother, now inside this method, another thing is said, bring the feature two of the super class, bring whose, now the super classes are two, first let's go and see if there is a fight between the two, the feature two is in the B class, the feature two is in the A class, otherwise there is no fight, whose


key: chroma:document
string_value:
the A class, otherwise there is no fight, whose will run directly, of B, will run, okay, feature two would be working, if it was in both, then A's would run because it would be in both Then the resolution order says that this will work, okay, we have read about polymorphism, there are many methods, method overloading, operator overloadingDing so you must have seen I told you that there is no overloading, there is overriding, I am skipping duck typing etc. I am coming to the main point, here who


key: chroma:document
string_value:
etc. I am coming to the main point, here who is talking on the phone, what is it where, this does not happen in Python, we are also not doing it, okay, to make public, to make protected and to make private, what are public protected and private, yes no, yes, what are public and private, this is called access modify, what is access modify, who can access what, not every person can access everything, right, you are accessing this laptop, but you will not access the reception one, your heart wants


key: chroma:document
string_value:
not access the reception one, your heart wants to come to my laptop, so some restriction has to be put, something has to be done, so this is called access modify, what is called access modify, if something is public, any attribute is public, then it is accessible inside the class as well, like we saw, we put a dot and it is accessible outside the class as well, if something is protected, then that only protected means that it will be accessible inside the class, it will not be outside the


key: chroma:document
string_value:
inside the class, it will not be outside the class, no, that So it is private, let's go to the next class, it's time now, we will study it in detail in the next class, how many more types of methods do we have, public protected private, okay, I will share it in the file, so go through this, these multiple and multi level, it is simple, it's not rocket science.


key: chroma:document
string_value:
Salam Walekum, today in this video we will learn the installation of Python. To install Python, to work in Python, the environment ID that we have selected is the distribution Anaconda. There are different types of IDs in it, Jupyter Notebook, Jupyter Lab and there are two-three more, Spider, etc. All of these are there, so first of all we download Anaconda. You will go to G and type Anaconda download, then the first link that comes to you is Anaconda Python Distribution R Distribution, in this


key: chroma:document
string_value:
Python Distribution R Distribution, in this it is available for Windows as well as for Mac and for Linux, it is telling the version of Python, do you want to install it in 2.7 version or 3.7 version? If we have to install it in 3.7 version, then we will download the 3.7 version only. When you click on download, it will be downloaded for you. When you have downloaded it, obviously its at file is present in your download folder, which has come to me here, so now you double click on it, this file


key: chroma:document
string_value:
me here, so now you double click on it, this file will start getting activated. Next, proceed Next, this path is showing, this folder of Anaconda will be created at this destination Next, there is a check on Anaconda to my path environment, there is a check on Registered Anda Defn 3.7 By checking this path, we will have an advantage, I will be able to access Anaconda from anywhere in the system, otherwise I will be able to access it only from the folder where it has been installed, let me check


key: chroma:document
string_value:
folder where it has been installed, let me check this, we have installed it, now the installation has started, I will go next, Inshallah the install has been completed, Next, Next and finish the installation, we have completed it, now I have to check whether the installation is done or not, for that, first of all I will check this, Anaconda, I checked Anaconda, Anaconda Navigator is visible on this, it means the installation, now let's check what is there in Anaconda Navigator, then we will see


key: chroma:document
string_value:
is there in Anaconda Navigator, then we will see how to run it, I activated it, you can see the green circle, this Anaconda is curing Anaconda You are done, inside this we can see different IDs, Jupiter Lab is visible, Jupiter Notebook is visible, Spider is there, VS Code is there, Gluu Vis is there, Orange R StudThat's it we can launch any Jupyter Lab also, to work in Python we can also launch Jupyter Notebook, we can launch everything from here, here if I launch Jupyter Notebook then all the


key: chroma:document
string_value:
here if I launch Jupyter Notebook then all the files will go to the Anaconda version, well there is an easy way to do this, you can use any ID, no issue, you can use notebook, the easy way to do this is that we want to keep all our work inside our own Moose directory inside our system, by removing it from everywhere, like for Apple, I created a folder named Python Work in one of my directories, I came inside the folder and I am running this folder, from whereever I work, all my work will be in


key: chroma:document
string_value:
from whereever I work, all my work will be in this folder, I will run CMD from this folder only, while being present in this folder, we just saw that we had Jupyter Notebook as an ID, apart from this Jupyter Lab was also visible as an ID, so we will do most of the work in Jupyter Notebook, there is a little difference between lab and notebook, not much, when this is done After writing enter, this Jupyter notebook will automatically be launched. This Jupyter notebook has been launched. Okay,


key: chroma:document
string_value:
This Jupyter notebook has been launched. Okay, from here I can create a new file. I have launched Python 3. The file has come to this. Now we have simply come to the notebook environment. We can change the name of the file. Now I will write the code for you. We have launched Anaconda zone. We can work inside it. We can activate it. It runs from here. So in this video we saw how to run the notebook. Further, whatever work we are doing, we will be creating notebooks in the same way by sorting it


key: chroma:document
string_value:
It's ok, there are three numbers 539 and this is in the box and I have to sort them, because you are a human, you can tell by looking at the tongue which number will come first, but do not thank yourself human, but you understand that you are a computer, only when the number comes to you, then only you will know what the number is, now what do I do, I will pick up one number from this, how to sort, sending or descending for employer, I took out the number, now what should I understand from this


key: chroma:document
string_value:
number, now what should I understand from this F because I also have some other number in my hand, so what is this for me, it is the biggest, so for me this is the biggest, so here I have created a variable, what have I named it, I have written the biggest, yes biggest program should be done just like a lemon, just like you work in routine, in the same way, there is nothing in biggest right now, so when I picked up this number, I said yaar what is F, it is the biggest, ok brother, now as soon


key: chroma:document
string_value:
is F, it is the biggest, ok brother, now as soon as I put my hand in the box, who came out to me, bha, now whom will I look at, I will look at this th as well as this one I will see if the number that I have got in my hand is bigger than that number, if it is kept in the biggest, then I will swipe it, I will put that biggest number, I will put three, otherwise I will not put it, okay then if the swiping is done then it will happen, the next number was picked up, the next number came nine, now I


key: chroma:document
string_value:
was picked up, the next number came nine, now I checked nine with the biggest, which is bigger, nine is bigger, the number with the biggest is smaller, so I put no in the biggest, it has to be overridden like that, so ultimately what will happen, the number that comes in the biggest will be the biggest in the end, okay now how to write this in the code, what do I have to do now I have a list of numbers, okay, in which what did I write, now 5th and no, okay, what am I making here, no problem,


key: chroma:document
string_value:
and no, okay, what am I making here, no problem, understand from the user, that is a secondary thing, primary thing, so our logic, what do I have to do, yes I have to create a variable of the biggest number, okay and what do I put in it, now let's put zero, now I loop it, for a in the list, picked up the number, from where from the list, now I will say that number, check that number I will do it, the number that is coming is bigger and smaller than the number in the bigass, I just did the same


key: chroma:document
string_value:
the number in the bigass, I just did the same thing friend, picked up the number and kissedI checked with the biggest one so what should I write if the number that came in A is bigger than what is kept in biggest then what should I do so what should I put in biggest put and if it is bigger then put A okay now this loop will keep running if it is bigger it will put it otherwise it will not put it, there will be zero in it first it will put f it will not put r and I keep printing here for your e


key: chroma:document
string_value:
not put r and I keep printing here for your e also what came before in biggest what came after okay and at the end also I will print biggest j put biggestt did it not swap th in biggest because i was not bigger but it put f it was bigger than zero then put na okay it is not rocket science you should go in small steps there are some places it is difficult but if you go step by step like you see something in front of you you will do whatever step you do only that step I have not added any new


key: chroma:document
string_value:
you do only that step I have not added any new work from my side if I tell it to sort in ascending order then what should I do what should I just put in place of greater Less then okay what will happen brother I had put zero in smallest smallest abhay biggest this zero is also wrong at that time I put it just like that so that you can understand the thing easily what is it not coming because if I put zero in small then it is bigger than that so zero itself is the smallest if I do minus here


key: chroma:document
string_value:
so zero itself is the smallest if I do minus here then what will come out okay so basically I should not put this zero what should I pick up first here should I pick up the first index of the list whatever is in the list understand that as small or biggest okay that is from y to 4 no it is okay now the small which is there is not coming as zero right one understood this thing with me listen brother I was putting zero in small but look here I will put zero back okay now I am saying tell me in


key: chroma:document
string_value:
put zero back okay now I am saying tell me in this list but if any number from this list is zero or smaller than zero then which is the smallest zero then it will show zero whereas zero is not a part of my list there is no answer It is okay, it is not an answer, you said friend where did zero become sold, then there is no answer, this is the issue, that's why I said that bhaI picked up the first number from the list, as I had said in the beginning, and whether that number is the smallest or the


key: chroma:document
string_value:
and whether that number is the smallest or the biggest for me, so I said let's pick it up here, now I am picking up the first number, keep it in the form, now that number will automatically become small in the beginning, I picked up the first one, right now this number came, if there is any other number, otherwise you will be small, ah here I will make it, I will run it in the whole class, I am indexing the list, I am picking up index zero, index zero of the list will come, will you do this,


key: chroma:document
string_value:
zero of the list will come, will you do this, will you eat samosa, snatch it from someone, then bring it, come here, it's a good thing, sit near me, ok tell me friend, are you asking me to bring it here, what should I do, no no, Manav himself is small, no, this is not in the index, put a hard code minus, now save it, if it is small or minus is small, then it will remain Manav only, there will be no change, there will be no space, when input from the user, then you will store it, friend, in the


key: chroma:document
string_value:
the user, then you will store it, friend, in the xv x x list Get it appended or you can take all three numbers as inputs, I will tell you about that, yes, okay, you have to sort, you have to write the sorting work separately, brother, from where did you get it, ah brother, the sorting algorithm which is to be sorted in ascending or descending, it's like we have a list, I have to sort this, understand brother, I have to sort this list, so now what do I do, I run a loop, then anon list, okay,


key: chroma:document
string_value:
what do I do, I run a loop, then anon list, okay, what will be the first number that will come in the list, brother, I will make another list and name it sorted, and [music] MT now how to sort, first of all we should think about what do we have to do in sorting, oh brother, the big ch comes out, servant of Allah, now this is the list, I have the first number, my pa, okay now what will come next, now when i comes, it is smaller than pa, so what do I have to change the index also, okay, I have to


key: chroma:document
string_value:
I have to change the index also, okay, I have to change the index also, well we will do one thing, we will do this sorting work later, yes, the whole class will be very busy in this, I know, so now first let's move the work forward, by the way, everyone will see, it is very easy. running the sorting algorithm just requires playing with indexes a bit and not using functions what a great thing it isIt is not that you will not use functions in real life, you should use only sort functions in real


key: chroma:document
string_value:
life, you should use only sort functions in real life, who would be such a fool who is sitting and working in the office and starts writing his sorting function, so it often happens in interviews that they give questions like this, write algorithms and then put a dotted line and the sort is done, so there is a requirement that if you do not use it in your code, then why should you do it, when there is one thing then why should you do it, it is because it shows how well you are building logic,


key: chroma:document
string_value:
because it shows how well you are building logic, how you are playing with the values ​​with the data, how you are manipulating and reaching the requirement, it increases your logical understanding with the code, especially these sorting algorithms, searching algorithms, if someone has read the subject of data structure, sorting, insertion and searching, all these come under data structure, how the fastest search will be done, and how the sort will be done as soon as possible, so that is why we


key: chroma:document
string_value:
be done as soon as possible, so that is why we read the code that we write in it. Isn't it? That means if you apply for an international level job, then your test will be data smirk, you will be given such programs, make them, move them around, it will show how much understanding you have, at what level you are, how deep you are in the code, we will not study data structure algorithms, but when we do these programs, we will take a little time and talk about one or two classes, searching,


key: chroma:document
string_value:
and talk about one or two classes, searching, sorting, then many things will open up in it, we have many such platforms where you can write this code, like you can go to Hacker Rank, have you heard the name, someone should go to Python, you will get such questions on Hacker Rank, there are levels, even today a big good company also asks what is your level on Hacker Rank, okay, like this has come, say hello word with Python solve challenge, or you log in, prepare for job interview, complete it,


key: chroma:document
string_value:
log in, prepare for job interview, complete it, compete as a student, I will graduate, okay brother this has come, now what to do, simple line of code can be done my string hello word input format output format print hello what to do what dYou need to read any input in this challenge what should come in print hello world and written like this you know how to write hello word this is what you have to give right, run the code okay congratulations in this way you must have explained it here and


key: chroma:document
string_value:
in this way you must have explained it here and must have given a challenge at the back by performing this thing so from the very beginning you can start and firstly you have become a hacker rank secondly you will go where is Kaggle okay you will come to Kaggle there is an option of learn in Kaggle if you have not created an account then sign up create an account from Kaggle you will come to learn and here is Python you can study this Python from here you will also get a certificate there is a


key: chroma:document
string_value:
here you will also get a certificate there is a lesson there is a tutorial then there is an exercise tutorial then there is a ballin condition tutorial then there is an exercise you will come to the exercise if you practice them then you will also get a certificate of Python you will work here okay all this is written here now the question is that if you want to do something if you want to become something then you will have to work extraordinary hard okay average p is something You don't have


key: chroma:document
string_value:
hard okay average p is something You don't have to do that either, you have to activate your hands and feet a bit, you have to spend time, then the thing will work out. I am not saying that read a lot of things ahead, whatever you are reading, it's okay, read it so much that you say, okay, read it from everywhere, you have read it in the class, you have done the exercise, you have done the assignment, you have done it by going to Hacker Rank, you have done it, you have done it on Kaggle, you


key: chroma:document
string_value:
you have done it, you have done it on Kaggle, you have seen any tutorial on it and while submitting it, the whole topic becomes so big that I don't know what all I have done in it, then you will feel that I have learnt to write something and do something, so whatever topic is going on, whatever thing is going on, that is important for you right now, there is no need to run ahead, you say I will read this as well, read that as well, step by step, whatever is going on, that thing should be


key: chroma:document
string_value:
step, whatever is going on, that thing should be perfect, it should not happen that you attend one class, in the next class you don't know what you read in the previous one, you didn't understand it, you didn't understand it again and again, ask questions, then the thing will work out, whatever is there, you will keep coming and I will keep teaching, you will not study at home, then the matter is no it will not be correct come on tell me what am I not understanding okay right program to the


key: chroma:document
string_value:
am I not understanding okay right program to the user to the inputTake input from the user, see the list, you were not able to take it, okay, it was not a big deal, while writing here, first of all you write Python so that I can search it in Python, how to do list s input user [music] input, okay, what did you do brother, input a list mt, took a number, ran the loop that many times and kept on putting that number in that list, finally the list came up, good, I am giving you a simple solution,


key: chroma:document
string_value:
came up, good, I am giving you a simple solution, you make a list here and take the input here, how many numbers' list do you want, I entered the number 10 comma separated numbers, enter 10 numbers, comma separated now if the user enters 10 numbers, what will happen, just see, this is a list, I am entering 10 numbers, separated, if we take user input, then in which type will it come, what will it come completely, how is it coming, it is coming, it is coming, what do I do with this string,


key: chroma:document
string_value:
it is coming, what do I do with this string, simply split it here, what would I do, read the function inside the string, we split the comma, split the space, I said Split it, if I split it on the comma, then whatever string is there, it will be separated, it will be separated and all of them will be separated automatically [Music] This is a list of strings, it has been split, now what should I do, now the list is created, but this is a list of numbers, I have to convert it into numbers, what


key: chroma:document
string_value:
numbers, I have to convert it into numbers, what should I do for that, type it, but it can be of such type that I cannot type the number, I will have to type it, okay, I will say this, by the way, if I have to use it somewhere in the code, then I will type it right there, but Phil Bak, let me show you this, for n in list, pick up one number from the list, okay, and what else do you keep doing, brother, make a new list, yes, but it will be appended before this, right baba, that's why it will be


key: chroma:document
string_value:
before this, right baba, that's why it will be appended before this, let me create a new list, right now, what do I say, brother, new list dot append, append in the new list, what do you append by making an integer, a, so if you are not able to understand anything written, then look brother, there are two things, one So you should search it yourself and learn it. Secondly, there is a group for discussion. None of you copied and pasted the question. I don't understand the logic behind it.I am


key: chroma:document
string_value:
I don't understand the logic behind it.I am not able to understand the question, what is to be done in this, what input is to be taken, has nobody asked a single question so far, what does it mean, there are only two meanings, either you have done all the questions or you are not doing them at all, so which situation is it, you are not doing them at all, see the thing is, you will study from here and go, you will get up and come back, then you will go ahead, nothing will happen by this, you are


key: chroma:document
string_value:
go ahead, nothing will happen by this, you are wasting your time as well, okay, so you haven't got time, and we people say that when you have given your word, then give it completely, then what to think, or do, when you have decided that you have to study, then you have to study, I understand, if there is any better option than this, then go here and do that work, what do you think, if there is any better option than this, or have you thought that I will not do this, let's do that, is there any


key: chroma:document
string_value:
I will not do this, let's do that, is there any such option that is not in your mind, then if no good option hello Python comes to mind, then friend I will study something else, if I do not work in data, then I will do something else, then do the same, okay, but the thing is that when you have come here, you have thought and you are spending time Your time is so precious, you are rushing to reach here, you are wasting petrol, it is raining, everything is there, but if you do not practice it


key: chroma:document
string_value:
is there, but if you do not practice it then there is no use, what do you think, if you know a little bit of Python, you know a little bit of work, it will be of use, this field is not such a field that someone heard something and got you appointed on recommendation, now the work will be done, wherever you go, you will sit on the system on the first day and work, you will work, the person sitting next to you will not do your work, you have to do it yourself, so there is no option, so work a


key: chroma:document
string_value:
do it yourself, so there is no option, so work a little hard, if you do not understand something, ask in the group, Inshallah you will be answered, but you will have to do it, okay, we basically had to read while loops for loop, we had read it, okay, this was discussed in our last post, while loop runs over condition, it runs on condition as long as the condition will keep running, the for loop was running on iteration, as long as there are values ​​in the collection, the for loop runs and as


key: chroma:document
string_value:
​​in the collection, the for loop runs and as soon as the values ​​in the collection end, the for loop ends, it was like this. We have picked up the list collection i.e. dictionary collection from it, it is very simple, okay the format is like thisIt is very simple, the meaning of wall is until when, until what happens, until the condition becomes true, I have written true on y, then y will always remain true, so what does it mean that the wall loop will always keep running because whenever bar


key: chroma:document
string_value:
will always keep running because whenever bar comes, true true true true true true true will keep running until true comes here, as long as its body keeps running, I print what, print hello, how many times will it print, will it never stop, this loop will not stop, okay yes, if I put a break here, then how many times will it run, it will run once, as soon as it comes, the break will happen once and it will end, but here I do not say true but I write any condition, what do I write, until a gets


key: chroma:document
string_value:
any condition, what do I write, until a gets married, it should keep running, how long will it run brother, it will run for two years, it will keep running, it will not stop, how can you tell me, your loop is also the same from my end, now I am writing y, as long as the value of a is smaller than 10, it will keep running, a brother, he will say while, he will say who is a, who is a, so a will have to be made, ya a which it is zero and I said as long as it is less than 10 it should continue now


key: chroma:document
string_value:
long as it is less than 10 it should continue now tell me how many times it will run infa time it will run every time a is zero it will remain less than 10 its age is increasing a little its age is increasing a little so we will have to increase the age y but whenever the loop runs what will happen once a increases one year okay if one year increases then now every time the loop runs it will keep increasing by one year and finally when a becomes nine years old it will check the year then it


key: chroma:document
string_value:
nine years old it will check the year then it will break okay you first see and understand till we enjoy some time okay it was in the assumption we will ask you again what problem do you have now y but when I printed it first it first printed zero later print it first increase it later pra ho ji it got increased ok brother oh friend why are you not eating samosas there is any problem in understanding this to show the numbering neither you would know nor have to know how many times it came now


key: chroma:document
string_value:
know nor have to know how many times it came now if someone tells friend to do this work listen brother then I what does f a do in range 10 and what should I do with this if I print it then the output is same basically what is the work of both of them is easy but we had said that for the print to run there is no collection hereWhat is needed is a list, a range from which it will take out the values ​​and run and the while loop will not have any collection but will have a condition written on


key: chroma:document
string_value:
collection but will have a condition written on it. As long as this is true keep doing your work. The advantage of this is the difference. You can use any loop. There are just a few places where you have to come into a mandatory loop. So first we run one or two while loops and then come to that condition. Now if I say here that the work that we learned through for loop, the same can be done with the while loop. I have a list, a list of numbers and I am not able to see what I am doing. This is a


key: chroma:document
string_value:
I am not able to see what I am doing. This is a list of some numbers. I have 12 and 32 twice. What is your problem friend? Now what do I have to do with this? What do I have to do with this? We have worked with the for loop to separate the even numbers and the odd numbers. So I will have a list of even and a list of odd. Now I don't want to run the for loop. I don't want to run the numbers. While loop. What do I write brother while while? We also need a counter for this, count till zero, what


key: chroma:document
string_value:
need a counter for this, count till zero, what should be the count till which is smaller than 18, now we have to run the loop so many times, so how many values ​​should we have, 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18, to run the loop for 18, so this count till which is smaller than 18, okay, I am writing 19, three zeros, no, 12 3 15 or 19, hey, we are running from zero, kids, we are running from zero, come let's see now, maybe you are right, count till which is smaller than 18, so now what


key: chroma:document
string_value:
count till which is smaller than 18, so now what you have to do, now what you have to do is to pick up the number from this list, now it was coming so easily in the for loop, it was coming up on its own, poor thing, now what do I have to do, brother, what will be the index of the list, it will not be zero, I want the index with automation, so the first index What will come in the count, what value will come, first zero, pick this value and its model should be zero with lot, what should I put in


key: chroma:document
string_value:
should be zero with lot, what should I put in the beginning, if the value that has come at zero in the list is an even number, then where to put it, even dot append, do not append the count, that number has to be appended, okay, the number that has come in the count, pick up that number at list zero.Put the 'e' in the list, put it in the one otherwise where to put it, append it in the odd how many people understood this thing yes the rest of the people did not understand it is strange friend


key: chroma:document
string_value:
people did not understand it is strange friend yes do not put the for loop, I can do it with the for loop also yes if I write the same program with the for loop then for a in list just what will I do what will happen with the model of a dot f if it becomes zero then it appends a else and dot append it brings the numbers by picking them up from the list itself here I had to create the index and then go through the list and run the index now what will happen every time listen what will happen for


key: chroma:document
string_value:
happen every time listen what will happen for the first time the count is zero right is it smaller than 18 the condition became true now we said if the member on the list who is 12 its model will come zero with two yes the condition became true pick it up and put it where put it in the one when this condition e now again in the count so I did not do plus plus friend in the count so I did not increase the count here also It will have to be increased and if this body runs or even then what have I


key: chroma:document
string_value:
and if this body runs or even then what have I done to the count now, how much has the count become, one one is smaller than 18, yes who is on list one, count p has become one, right, who is on list one, 32 its modulo will come, zero will come, 32 also went to one and one was added to the count now how much has the count become, who is on two, modulus of four will come, zero will come, four also went to one, then who is on count three, modulus of list count 3f is zero with two, no, one will


key: chroma:document
string_value:
of list count 3f is zero with two, no, one will come, the answer to that will be true or false, list count is zero with modulus two, true or false, false, then the body will not run, it will put it at two and a half, it will put it in d and it will increase one, now four p will come on it, in this way it will keep going on, yes the count plus plus which is there after else, should I put it here, okay, they say that I should remove the count plus plus from here, I should remove it from here and


key: chroma:document
string_value:
plus from here, I should remove it from here and put it here, the question is that if this condition If it becomes true then where will it go from here and if it goes up then it will not come here at all, okay you should have got the print shut, print and one print d son, after this if the condition becomes true then it will go back here, okay, run it and see, it is done okay and this will also do the same, okay, put it again ahead of that 12 32 5 67 days any questionWhy am I taking samosa's


key: chroma:document
string_value:
32 5 67 days any questionWhy am I taking samosa's money in this, brother? It happens that whatever work you do, change the value of ix, it doesn't matter, there is double work in it. We will learn a little bit about how the index is getting shifted. If I write a program again, I will write guest here, okay, and then understand okay brother, just refresh it here. Now what do I have to do, I have to access these in the while loop, whose s I have to access these in the while loop, so what do I


key: chroma:document
string_value:
to access these in the while loop, so what do I write brother, now I need a counter variable, I said while c while c is lesson every time, I should not count the list or I will pick up its length, the length of guest and it will pick up the length of tooth f c and what will happen, okay now see, now I have to pick up from the zero of best, so what do I just print sum, print guest, do not write zero, zero is lying there, okay, and what will I do here, c right, now every time c will keep


key: chroma:document
string_value:
I do here, c right, now every time c will keep increasing, it will become one from zero, then it will become two from one and all these names will be We will keep coming here I will also put the value of C, okay what came in C, zero so what will happen to zero gas zero, I brought it by picking it from v, then what happened in C, then I printed it and brought it from guest one, Nasir, then what happened in C to Umar, then in C there was Asad, okay, that index is written just to show, there is no


key: chroma:document
string_value:
that index is written just to show, there is no need for it, Bajwa sum will be zero, it is smaller than four, cha aa, no, my i [music] top, it will be very expensive, if you have some work, then I have it, I can run that project, we have the condition, this is it, like this will be four, four is smaller than four, let's go ahead, if you understood the point, then tell me or not, no problem, let's go ahead, okay now see, now what I was talking about, wa lu fur loop, understood how it is working


key: chroma:document
string_value:
wa lu fur loop, understood how it is working or and do one m no one, just copied this and in this print, I said it and got it printed here, what will you do brother, what will be its output from zero to no, okay now its What will be the output? Okay now what will be its output? It will be infa because if you minus one from C then it will always be less than 10. It will always be over minus minus infa. Okay, I ran it, it is going, it is going, it will keep going becauseIt will keep running till


key: chroma:document
string_value:
will keep going becauseIt will keep running till enough numbers are generated that my RAM is completely covered up. How many values ​​will be generated by running the program on RAM that the 20 GB RAM is completely used up. In that, the program will say out of memory. So what will I do in such a situation? Stop it. When I start the kernel, all the variables break. Yes, all the variables got deleted. The first problem I faced was [music] And who else? I took one. Ok brother, let's go ahead. Say


key: chroma:document
string_value:
else? I took one. Ok brother, let's go ahead. Say something brother. I haven't done anything today. There is a useful website from which you can see this. Do one thing in it. First of all, read the question. I don't understand what is happening. Post it in the group that I am not able to understand the question. People will give their opinion on it. There will be some discussion. There will be some debate. This will open up the mind. Slowly you will come on that track. Then, I am giving you


key: chroma:document
string_value:
will come on that track. Then, I am giving you what you have to understand. You have to understand what was said in English. Similarly, our English is so much Subhan Allah. So, better than that is that you understand what is going on in it. Ask and do questioning. So that the debate can be held on that, then the discussion will happen slowly slowly slowly you will start understanding that this whole process does not happen instantly for loop I just did it for free ok brother for example this is


key: chroma:document
string_value:
did it for free ok brother for example this is the data I have, okay and I want to run a loop and check in it I want to send the invitation letter to all the guests but I will not send myself, okay so what will I write for guest in guest, remove each guest from the guest list, okay if the name of the guest that has come in the list is not me, who is not me, if it is not me then what should I do brother send the invitation, send the invitation letter, guest Mr. Guest you are invited, okay so now


key: chroma:document
string_value:
guest Mr. Guest you are invited, okay so now what will happen in this first which name out of the ones, aa aa Atif came guest is not equal to Atif Nasir's condition this block will run Atif you invited then which other name will come guest Nasir came Nasir is not equal to Nasir's condition what happened hoga this block will not run then it will run at the end it will run ok ok and he said this can be done in while also ah his question is good any such program which is possible only with while


key: chroma:document
string_value:
such program which is possible only with while loopLet's see, I will say here that what I have to do is I have a MT list of guests I have to take the names of the gases from the user and put them in it. Okay, I have to take the names of the gases from the user and put them in it. Which loop should I run? I will run the loop and then I will run it. Okay, now what will I do here, I will take the name of the guest. Just understand, friend, enter the guest name. Okay, and as soon as the name comes,


key: chroma:document
string_value:
guest name. Okay, and as soon as the name comes, I will put it in the guest list. I will put that name in the guest list. Okay, and at the end I will print it. Just understand, enter the name of the gas. Who was it? Who was it? Yasir and Maj Mass, so today is left. Maas and Atif, U Kasha and Aamir. The list of gases has come. Brother, the list of gases has come. But the problem is, what is the problem? The problem is that I did not have five gases. I had more than five gases. Now you have


key: chroma:document
string_value:
gases. I had more than five gases. Now you have created an application for a user and he is using it sitting at home. Is he sitting at home and preparing the list of his gases happily? And what happened after running that list five times? All the two will remain but the loop is there. The five times what happened is over, now what to do, the poor thing is that the wall doesn't work, the while also works, now the problem is that there is a loop in the range, there are five times, how will it


key: chroma:document
string_value:
in the range, there are five times, how will it increase it, he wrote some code, so he is using the application sitting at home, he does not know how many guests are there, if there is even one more, then he will not be able to enter, if even one guest is more than that, then it will tell mother that no more guests can come, okay once, now understand the thing, I am running the loop five times, I can break this loop first or I do not have any control over this loop, if it runs once finally,


key: chroma:document
string_value:
control over this loop, if it runs once finally, then it will end and stop, this is what happens, what can I do in between, I can continue and break, okay that is also fine friend, I have entered 50 names and when I have to reduce it, I will break it, but if I have to do more, then I cannot run more in any way, I cannot run it like this, it will run more, well, the same thing, if I see with the while loop, what do I do here, I create a count, understand brother count I make it and tell the vile


key: chroma:document
string_value:
brother count I make it and tell the vile that vile count is less than 50, then the same thing comes again, then the same thing comes again, it will not work after 50, I have to stop it first, I will stop it, I will take a continue break.But it will not go beyond 50, the butter technique on which we can work, what is that, we call it flag, what is flag, that is called flag, what is flag, have you seen any such flag which stops the work, it is D which is shown to the people, where is the green


key: chroma:document
string_value:
which is shown to the people, where is the green flag, where is the red flag, green flag is in football, in a football match, the line man has a signal towards the person whose leg hit the ball and the ball went out, the red flag is indicated like this, the person standing in front of the train, if there is a red flag then it is stopped, the signal will be green, the rest of the traffic signals will be like that, instead of flags, electronic flags have come, so red and green, this is the


key: chroma:document
string_value:
flags have come, so red and green, this is the system, we are also installing the flag system, what are you doing, look here the guest count will say this, but you will not say this to him, 50 times come on, we will tell him, brother, you keep going forever, you keep going forever, keep going happily, keep giving input, then when will this end, when will it end, when will it end, when we will stay, that will also stay, keep doing this When we say that brother if someone writes something in the


key: chroma:document
string_value:
that brother if someone writes something in the name instead of the user name, write break, write break or write something else now I am telling enter guest name and type break to break what should I write to exit if he writes break then what will I do what will I put on y and if he is not writing break he is writing the name of the gas in the ascending line I will make it here flag u now he has also raised the flag green right how has he raised it while flag what is the value in flag true and


key: chroma:document
string_value:
it while flag what is the value in flag true and what will I do here break is not y it will say flag what do you do make it false okay as soon as break comes what will the flag become red else what else keep doing otherwise all the names that are coming keep putting them in the gas list gas dot append name now see what will happen tell the gas name also country country country country okay now he said our gas is full what is the gas now what does he have to put break like y will write break


key: chroma:document
string_value:
does he have to put break like y will write break here what will he get break in the name and what will the flag become false and If it goes into a loop, it will give a false result, it will break, right? It is okay. There is no need for count, it keeps going on forever. We don't need count.I understood, let me make it more easy, in place of break, I will write break break, there are too many breaks, and ct, I did not get it printed, son, I will put it, but okay, I keep putting the names of the


key: chroma:document
string_value:
put it, but okay, I keep putting the names of the gas and what will I write at the end, like ct, you will get it, what will happen, false and loot, what will happen, break, okay, let's just keep it here.


key: chroma:document
string_value:
Well we have two books, one is Python crash course and for fill work we have this easiest book and apart from this there is a book Smarter Way to Learn Python. Okay, I am sharing these two books, the rest of these are Python for Data Analysis, Get Science from Scratch, these are a little difficult, these codes are easy, so what if it is not much, brother, it is not much, okay, this is okay, we had studied strings in the last class, okay, how much have you revised brother, how far have the new


key: chroma:document
string_value:
have you revised brother, how far have the new comers reached, yes, how far have the matter reached, is there any person who is in the first class, for whom no one raised their hand, no, come on, today we are in which class, today we have eight and 13 stars, what have we started studying, today our topic is Python Election, okay, we will read a little later, I had read it earlier, after doing this a little, we will do it again, Python collection or we should not talk about these, brother my


key: chroma:document
string_value:
or we should not talk about these, brother my voice is coming, then you people should not come, we also call these Python data structures, collections or Python data Structures Hello, what are you guys doing, the sound is still coming brother, the class has started, yes, whose test is it brother, then there should be no talking at all, then there should be no talking at all, so what are collections and data structures or they are also called Python data ss and also called collections, right,


key: chroma:document
string_value:
data ss and also called collections, right, when we are talking about collections, till now we have created as many variables, we create any variable, for example, I said student, so yes, we created a variable for student and wrote the name of a student inside it, I yes, okay, we assigned a single variable, right, can I create such a variable in which I can keep many values, what am I saying, many values ​​can be assigned to a variable, multiple values ​​can be stored, right, so when you assign


key: chroma:document
string_value:
values ​​can be stored, right, so when you assign many values, then that will be a collection of values, right, what will happen, it will be a collection of values, it will be a group of values, which we will store in a single variable, so we call them collections, okay, how many arrays do we have that A string is also a collection because there are many characters present in it, it is a group of characters which is a collection of characters.In the variable we assigned the string collection,


key: chroma:document
string_value:
the variable we assigned the string collection, apart from that we have a list collection, we have a dictionary collection, we have a tuple collection, we have a set collection, these are Python collections, strings, we have seen that the collection of vectors is put in one place, we can also do a single value act and do all the things, so now we have a single variable, we have created a variable named student, so if I create a variable named students, if we are using student or student plural,


key: chroma:document
string_value:
if we are using student or student plural, then we should have more values, so for this, the first collection that we are going to read, which one do we have Python list, so Python list is a simple and wide use collection or how is the data structure created, list, if we look at this, I said I am creating a variable of students and we have put square buckets, okay this is the sign of list, whatever values ​​will be inside it, they will be a list, so we write the names of different students, you


key: chroma:document
string_value:
so we write the names of different students, you guys start telling your names, Adil Bhai and neighbor, first tell me Amar, okay and Who is it, it is a habit to write one's name in a hurry, I wrote it Sohail, okay now, I have stored five names in the collection and put them in a single variable, what is the benefit of this? If I save each name separately, then they have so many variables and we will have to remember what is in such and such variable, the names of such and such variable will


key: chroma:document
string_value:
the names of such and such variable will also become too many, so collectively we have created a list and after making the list, we have assigned the variable named students to whom, so that is where we work, let us first check the type, brother, what type will this variable be, what type will it be, it will be of list type, that is, these students are an object, whose object is it, it is an object of list class, we had read in string that these students are an object of list class, if you are


key: chroma:document
string_value:
students are an object of list class, if you are not able to remember even this, then you say that student is a list, students is a list and student is a string, what is student, is string and what are students, is a list, right now we have made a list If you have created then MT list can also be doneValues ​​can also be stored inside it, all the things can be there, we have one from inside it, can I add more people inside it, can I subtract some people from it, can I access someone, okay, so


key: chroma:document
string_value:
people from it, can I access someone, okay, so we can do all the things, so first of all what should I start doing here, accessing items from a list, how do we access items from this list, okay, let me write ahead of this, via indices, we can access the items of the list, okay, so first we have to understand the index, I had explained this thing a little in the list, brother, the class is at 7:00, yes, we were also late, by the way, what would be the position of the first member, brother 0 and


key: chroma:document
string_value:
the position of the first member, brother 0 and two three and f 0 two and I created it again, so now if I want to access any member of the list, any element, then I will access it in square brackets, well, one is the square bracket, all the people are the upper brackets, which shows that this is a list, okay, and no matter which collection it is, whether it is a list, tuple, dictionary, write so many names, if We need to access the values ​​from them, where were you roaming brother, it


key: chroma:document
string_value:
​​from them, where were you roaming brother, it happened, so what was I saying, yes, if we need to retrieve a value from any collection, if we need to access a value, then square brackets will be required for that, no matter which collection it is, let's see this, so I said, bring the zero element or get it printed or access it like that, so who is sitting at zero, similarly, if I say who is sitting on students' third, where is mass, yes mass, okay, then whatever index I give, the element above


key: chroma:document
string_value:
then whatever index I give, the element above that will come out, it will come out, okay one more thing, the index position inside this is also negative, the last one is called minus v, so minus f -4 -3 -2 and -1, okay, so you can use any index, now if I write here students might, then who is to come on this mass, okay, if we go from here, then positive will come from there, so zero is only one, negative is not zero, so it is starting from zero, okay, zero is not negative positive, that's why


key: chroma:document
string_value:
okay, zero is not negative positive, that's why it is starting from zero from here. and from here it starts with minus v, okay any such rowKate, science is not easy to understand, it is a very simple thing. Now I am writing on this, a list can hold multiple types of data. Yes, what is there in a list can be of many types. Now how did I write all the data, I wrote it in a string. What is there in the list, can there be data of multiple types. Like, by what name should I create it here, brother


key: chroma:document
string_value:
by what name should I create it here, brother class. Let's create a variable here, Python class. Now what is there in the Python class? There are students in the Python class and who is there? I am also there. Okay, and how many students are there? We have 50 students and how many LCDs are installed. There is LCD as well. So now see, we are of different types. Today it is not a small class. Today I am assigning multiple types of values ​​inside it. Okay, so this is also okay. This is also okay.


key: chroma:document
string_value:
Okay, so this is also okay. This is also okay. Okay, inside which, when I said what happened, ours is also going on. Ha ha, how many are you going to do? What is the hack of talking? Yes, for so long, we will go on talking. It's been two minutes, work quietly. Or what bud are you making, I am making a board for magic global, yes on sis on ah, so what do you understand, I can have multiple tie e collections, we can keep many data types inside a collection, there is no issue, then there is a


key: chroma:document
string_value:
a collection, there is no issue, then there is a question, when I can keep string inside the list, I can keep flood, I can keep everything, so can I keep another list inside the list, let's try, I make a list like this and I put some numbers here, okay, I put some numbers and here I made a list, first of all tell me what is the length of this list, the length of this list means how many members are there in it, tooth four fs, so this is it, yes I did not ask for the index, friend, I asked how


key: chroma:document
string_value:
I did not ask for the index, friend, I asked how many total members, okay, there are seven members, this is one member, what is one member, there is one member, right, so if I check the length of this list, then it will tell how much, I have seven members and what will be the index of our seventh member, it will be six, so if I give index six So this entire list will come to me, I am understanding it, if I get access to this FahadIf I want to access Fahad, then what will I write, list, you have


key: chroma:document
string_value:
Fahad, then what will I write, list, you have a list above the sixth index and then inside that, who is there inside that, index number two or three, who is at that index number two, okay, what did we do, first we reached there, first we reached this and then we reached inside this and from inside this also if someone tells me that I want to access D, who wants to access D, then what will I do, what will be the index of D, f I can also give 0 to 4, yes I can also give minus and, okay, now first


key: chroma:document
string_value:
4, yes I can also give minus and, okay, now first look carefully what have we done, then let's take the question, what will be your yes one and t, 10 is sane, right, friend, but if it is starting from zero, then it will be less and if you ask, yes, the value of yes is also a collection, okay brother, so we make more lists, yes, we started recording, ask questions, I just told you what else is there, ask questions, what should I tell you in this, we have put a square bracket, say yes, it is put,


key: chroma:document
string_value:
we have put a square bracket, say yes, it is put, so yes, say no, I am asking, so square brackets are put. It means that the variable that I am creating is not simple, it is a list variable and what are the items kept inside the list, one string value is kept, another string value is kept, one is kept, then sval is kept, then bal is kept, then fruit value is kept, then ball value, so this is a complete list, okay, then we made another list, in it initially six values ​​are kept, later the one


key: chroma:document
string_value:
it initially six values ​​are kept, later the one value kept is a complete box, another list is done, so when I said that how many members are there in this list that I have created, then it started counting, one two three variables and this is one seven, so the length is seven, okay, when the length is together, then what will be the index of this one, what will be the index of this whole box, it will be si because it starts from zero, so this zero to four f and what is this complete si, so


key: chroma:document
string_value:
zero to four f and what is this complete si, so when I said si, what did it take out and give me y right, now the thing that I was explaining, if I had to sit here and enter it directly If it is there then first you have to reach it through six and then you have to enter inside it, which index do you want to go to, if you want F then right and why also FahadBecause it is triple, different values ​​can be taken out from it as well, so I told you that if you want to access its index D minus and


key: chroma:document
string_value:
that if you want to access its index D minus and the last one, then that D will also be taken out and given, you will have to go to right off, that is what we are doing and it will be pop. Now we learn different things, this is a dimension in which you know on which seat the person is sitting, that is why I am saying number 10, you get up and come, but what if there are many people sitting, I don't know the seat number, then how will I know, if I know the name, then I can call them by name


key: chroma:document
string_value:
if I know the name, then I can call them by name also, let's come from that, slowly do this first and move ahead, now what do we do, now because the list is a class of its own, so like inside the string, I said that there is a class, so the variable that we create and its objects, whenever we are making a list, then what is of the list class and when there are objects of the class, then what will be all the functions present in the class, you will get it, like I have created this string of


key: chroma:document
string_value:
will get it, like I have created this string of students, of students This is a variable, I am revising the old one a little bit, so I had said that brother because its type is string, so by putting a dot all the methods of the string will open. Well, if I show you a little bit, brother, what did I write help, help student, help the student. Okay, so it is saying brother this is not showing any Python documentation. Okay, no problem, so you help me in the string. Look, the whole class is


key: chroma:document
string_value:
help me in the string. Look, the whole class is visible. What is the string class and all these functionalities are defined here. Length mode size capital eyes case fold center count. We read all the methods, and with find format index. We have read all these methods. What has been created inside its class, they have already kept it. So now what are we going to work on? Right now we are reading the list. So I have created a list. Which list of which students have I created. Now if I put a dot


key: chroma:document
string_value:
which students have I created. Now if I put a dot and press tab, whose methods will appear. All the methods of the list class will start appearing to me here. Okay, and if I want to check how the list class looks, then what will I write on this? help list so i can tell you all the methodsYou will see the ones which are there, okay, insert, pop, count, copy, extend, all these, reverse, all these. Now we use all these methods. Are you understanding the point? It doesn't seem difficult, let me


key: chroma:document
string_value:
the point? It doesn't seem difficult, let me simplify it. The simple thing is that we have a lot of functionalities of the list that we are creating already defined, we will just use them. Now I said students dot, the first method that I can see is append to y, what is append? a new member in an assisting list at the end of the list, okay, y adds a new member inside an already existing list, and where does it add it, it adds it at the end, so I said first print my students, how was it and then


key: chroma:document
string_value:
said first print my students, how was it and then add a new student inside it, tell whose name, by d, by d, Mustafa, okay, sorry I did not print it, let's go, okay, earlier it was till Sohail, now who got added at the end, Mustafa, absolutely, absolutely, you can do it, did you understand this thing? What will append do, it will add at the end, the question should be this, if I To add two or three people at the same time, students dot append, so look, it is saying append to object, append


key: chroma:document
string_value:
so look, it is saying append to object, append object, any object, be it a string or a list, it will pick it up and put it somewhere. What is written here, object is written as object or objects is written, what does it mean, one, it means one at a time, if I tell it here to take two, add me as well and add my brother as well, then what will it say, what is it saying, po error read error, first do error list up n text only one argument and how many are you giving, you are giving two, okay, so


key: chroma:document
string_value:
many are you giving, you are giving two, okay, so when you will learn to read the error, then you will see your mistake, it's done, okay, right now their request came, we have to add it in the middle, okay, so for that we have students dot one present here, what insert, okay, right now what all methods am I getting done, I forgot to write in the beginning, I am getting it done here, adding members in list, then all the different methods of doing d, deleting I will get it done, okay so which


key: chroma:document
string_value:
d, deleting I will get it done, okay so which method will be used for adding members in the list, which method did you see before this, append theWhich is the second method we are going to see insert which is the third method we will see extend extend okay append insert and extend no no no if it was a table then how would a new person be added if it was mobile then how would a new person be inserted student dot insert now what does insert do it tells us at which index to insert and which object


key: chroma:document
string_value:
us at which index to insert and which object to insert at which index to insert and which object to insert I said do this let me ask you tell me quickly put it on u so zero two this new object will come in place of Nasr and all these will go ahead yes so I said put on 2 tell me the name Hasanen okay put t p Hasanen and show me again what is the situation okay who has come on g2 Hasanen has come and in this way I can tell him any index position right now we are not reading the replace function


key: chroma:document
string_value:
right now we are not reading the replace function right now we will read the replace one right now we are seeing how to send member in assisting list okay adding members now two names in insert How to add it also says tell me the index and tell me the object, does it make any difference yes, keep it in a variable and put it, ok now see now if someone says that brother what I have, I have another list, which list is it of friends, whose list is it, the list of friends, let's start telling the


key: chroma:document
string_value:
it, the list of friends, let's start telling the names of the friends and what happened friend, did I come Zoheb Shahnawaz Ahmed Yasar now I have these friends present in a list, I said friends all of you also take admission and become students, all of you also take admission and become students, now what do I have to do, add the name of these friends in the list of students inside students, okay, I understand now what should I do, should I append or insert, yes let's append, I said append


key: chroma:document
string_value:
append or insert, yes let's append, I said append whom, should I append friends to friends, when I appended the friends, now what became of this matter that brother this was a student, student, and here this is because this was a collection And it came here as a collection, were you looking to do the same? No, no, we did not want to do this. We wanted that each member is our friend, student.That should be done now as a collection if one fails then all will fail, right, if one takes leave then


key: chroma:document
string_value:
all will fail, right, if one takes leave then all will take leave, this will become a problem so what should I do for that, for that I have one thing for you people right now because I am deleting, right now we have not read delete but I am deleting these members that have been added, which index is it, it is t 3 4 fs six, right, remove it from the index from 0 2 3 4 5 6, it has come back to its original state now I had to add how brother add one by one, okay I had to add one by one, that means


key: chroma:document
string_value:
by one, okay I had to add one by one, that means you have 10 mangoes and a box of mangoes also comes, now you have to decorate the table, so do not decorate that box completely, but take out one by one and what to do with it, decorate it, okay now what should I do students dot extend, what will I do I will extend now I will not append, what will I do I will not insert, what will I do I will extend and now let me check, now see it's okay all the friends have come and come one by one, there was


key: chroma:document
string_value:
friends have come and come one by one, there was no error, yes Even when I insert it, it puts this collection only, ah what is similar to extend, that is, understand coquetry means plus, that is, plus, see what I do, I make another list here of relatives, okay, and tell me the names of your relatives, tell me the women, what happened, Ru Ru Mesa and Subhan Hamat Anas, now this relative comes, now what should I do to make them students also, students, students plus relative plus, do plus, that


key: chroma:document
string_value:
students plus relative plus, do plus, that is, do coquetry, like doing plus in sting, but one issue, till now see, did anyone notice, when I extended, it showed me the output of the list, did it not show, when I appended, what output did it show, it did not show, I had to go and check myself, when the output does not come, what does it mean, the change has come in the original, the change has come in the original, it is like this, when the output does not come, it means that there is a


key: chroma:document
string_value:
output does not come, it means that there is a permanent change, but when I do plus, then the output will come, it means that now the relative memory in the students I have not added it, it has not happened, okay if I have to add it then what will I do to it, if I do re-signing in the students then what will it do to itIt will also be saved and written inside it, so plus can also be done one by one but it is a little different from extend because what does extend do to the permanent storage, it


key: chroma:document
string_value:
what does extend do to the permanent storage, it comes after modifying it and what is there with plus will not be a permanent change, all of us became students, relatives also came, friends also came, we ourselves also came, now no one has gone, okay yes, neighbor, oh friend, let me do it, I am getting stuck in Python, so now this has been added to the list, now I have started reading which method, brother for removing elements from a list, what should I do from the list, what methods will be


key: chroma:document
string_value:
should I do from the list, what methods will be there for removing elements, first of all we have del, del is not related to any class, just my point is of attention and no class is needed for them, like I said brother print it, so before printing, did I have to put a dot and take it out from any class, didn't I use it directly, I said friend, do one thing, tell me the length, so the length There was also an open method, okay, I said tell me the type, tell me what is its type, it will come as


key: chroma:document
string_value:
type, tell me what is its type, it will come as an integer, so this is not a class method, everyone is understanding that open can be used anywhere, for this, give me this, it will come from within the list, it will come from within the string, so one of the methods we do not have is this statement called del and one we have a method of remove, from where will it come, it will come from within the list, okay and pop, we have another method pop, okay and and the most dangerous method is clear,


key: chroma:document
string_value:
okay and and the most dangerous method is clear, these are the four ways by which we can do this, we can make the members disappear from within the list and with these four ways the member will disappear permanently, it is not that it is not in the memory right now, it will be removed directly from the memory, okay, so while applying, first of all I say this is our list, this is del, del deletes a value via index, with the help of which it does this, I will tell you the index, it will do it, so


key: chroma:document
string_value:
I will tell you the index, it will do it, so I said brother list, your index number seven seven will be deleted, seven delete seven is the index, it is not in our list, so when I call it seven, what will it say, it will say Index out of range You are giving the index out of the range of this list so correct it again should I delete it six dShould I delete it, okay? And after deleting six, what should I do, brother, check the list again, sorry, I have deleted it, it has been deleted, okay,


key: chroma:document
string_value:
I have deleted it, it has been deleted, okay, brother, it has been deleted, it has been permanently deleted, now it cannot be brought back, this is what I am explaining, delete it, it has done the delete, it has pernetted it back, I asked for it myself, brother, okay, delete delete by index, index was provided, we hit delete, now we have remove, now this remove is not direct, brother, what do I have to tell for this, which function should I pick up from within the list, remove remove, from whom


key: chroma:document
string_value:
up from within the list, remove remove, from whom does it remove, it does not do it from the index, or from whom does it do it, it will ask from which position should I delete, tell me, tell me the name, now what is the value, brother, I said friend, whatever the value is, do it like this, what is the output of f b two, does it mean it is gone, okay, similarly, what did we have with the second one, brother, what does pop pop also do, pop will also delete the value, but it will run on its own


key: chroma:document
string_value:
also delete the value, but it will run on its own will, delete the last value, the very last one, because if it goes inside it, then they have told this, which index to delete, delete It is said which one to remove, it will always remove the mouse, but if it is removed then it will be permanent but it will do a good job for us, what is it that it gives us the one that it removes, that here brother I have removed it, no one has done this till now, what will it just give us, it will do the permit


key: chroma:document
string_value:
what will it just give us, it will do the permit but the one that has been removed will also be given to you, if you want to keep it safely somewhere then keep it, I have done my work, so here I take the list of students, okay and what do I run pop on it, what will come out brother student dot pop, as soon as I do this, then what will it throw for me, okay now do not think that the output that came is not permanent, the output that came is not of the list, it has thrown only that which it has


key: chroma:document
string_value:
of the list, it has thrown only that which it has removed from there, so if now I go again and chuck the students, then the Anas that is there is not present here, he had thrown it, it is your wish, you did not let it get caught, end but if I do this that I say pop the students from inside, but whatever value you pop, save it here so that if If ever there is a need in the future it's okSo we can utilize that data, there is a person who used to work in the finance department earlier, now you


key: chroma:document
string_value:
work in the finance department earlier, now you have transferred him and what will happen from finance, it will be transferred to accounts, but if you pop it and do not save it, then his job is over, his entry is gone from the register, he will no longer be an employee, so we will have to take it from here and send it somewhere else, so what will we do with it first, brother remove it from here and now tell me what pop value came, what will come to you, Hamad, okay, I am understanding, so we


key: chroma:document
string_value:
to you, Hamad, okay, I am understanding, so we can tell the pop pop the index ourselves that brother, you should not do it as per your wish, but remove the index that I am telling you, like here now we have also removed the mad, so one two three son, you people are talking too much, okay, if there is no space in the lab, then the fresh is lying vacant outside, one two three four, I want to get Nasar coded, then what is the index, it has three indexes, so I can tell you what you should do,


key: chroma:document
string_value:
indexes, so I can tell you what you should do, brother remove three indexes from Nasar, one, go as per your wish Manav, but if I provide it from here then That one will not work, then this one will work, okay, it can work in two ways, we are not working, all of us are cheating, yes, it seems that we are not making chat boards, it is somewhere, yes, it is fine, what is written on it by default, if I provide my number, then what will he take in its place, it will tell me my number, if I do not


key: chroma:document
string_value:
its place, it will tell me my number, if I do not give any number, then [music] that ERT gets inserted, this one is getting deleted, it asks for the number, put it in you, it brings it in R, okay, then the last method which we have for removing is very dangerous, it is clear, if you sit here and say that clear the students, then you have to sweep the entire list and it is permanent, now what will happen, there is nothing left in the students, after setting control, the code will come back, it


key: chroma:document
string_value:
setting control, the code will come back, it will not go back and put it in the memory, that is correct, the code will come back after setting control, that I set control here, it went now what went, it went to the memory and wrote it again, it is not written in the memory, the question is absolutely correct Your question was absolutely correct, your question increased after seeing the delete function.This is a good question. If I delete the entire list with delete and clear it with clear, what


key: chroma:document
string_value:
list with delete and clear it with clear, what is the difference? Anyone would like to answer. Clear removes the elements but the empty box of the list will remain there. And what does delete do? Are you understanding exactly what the answer is? If I am writing student here right now, then what answer do I get? I am getting an empty box, right? But if I delete it and make it student, then in the future I will forget that if I delete anything called student and do that, what does it do? It


key: chroma:document
string_value:
called student and do that, what does it do? It erases the entire variable from the list, makes it disappear. So we have some methods. We have seen the method for inserting and also the method for removing. Okay, now we have some other methods as well, like copy. What does copy do? It makes a copy of it. Okay, now I am writing something here. First making a duplicate of a list. If I have to make a duplicate of a list, then what will we do? Yes, there is one way, copy. Okay, there is one way.


key: chroma:document
string_value:
there is one way, copy. Okay, there is one way. There is copy method and there is one more method which we will read in a while, it is called slice, slice and there is one more method which we call it, although its name is something else but I am writing it for your understanding so that you can understand quickly, it is called direct copy, direct copy, otherwise we call it shallow copy but now if we use simple words, it is deep copy, shallow copy, so forget writing this one, this one is deep


key: chroma:document
string_value:
so forget writing this one, this one is deep copy and this one is shallow copy, now let's talk, see, our list of all students is left, so we have cleared it, let's leave the number in LST, I copied it again from here and recreated it, okay now I have a list of students, brother, now what am I doing, I am creating a new list, new students and this will be the copy of whose students dot copy, what will be student dot copy, now all these names will be copied and saved as new student, they will be


key: chroma:document
string_value:
be copied and saved as new student, they will be saved in new student, when I do new student, then the same list will come to me, very simple, okay now what do I do now There is a list of students, I am saying that make a list of old students, what should I make?oh and what do I say old students are equal to whose students now what has come in old students, the same value has come, the same value has come but it is very strong but this mass is come here, from today you will take charge of the


key: chroma:document
string_value:
come here, from today you will take charge of the class, it is right, when we used to study in school, then our teacher used to make the most naughty kid in the class, the one who used to trouble him, the rest of the class used to be made the monitor, the rest of the class used to be afraid of him, that too is on the chub side, so now you keep an eye, if someone is talking, make him quiet, ok brother now old students and students, look this one, this one, which I have worked on here, is called


key: chroma:document
string_value:
this one, which I have worked on here, is called copy and this is called deep copy, okay now what is shallow copy deep copy, just understand, I say students dot append, let's add one more student to it, what is the name of whom d brother, let's add sa sa, right, I added it, the spelling is wrong, okay, I added it, so what happened inside students, it came saad, so what happened in old students, it came there also, I did d, where inside students and where can I also see it, this is what I get


key: chroma:document
string_value:
and where can I also see it, this is what I get shallow copy, that is, now Let me explain this, we say that when I create a list, okay, did you understand brother, I created a list, so what happened in the memory, a list got created just like this, okay, a list got created here and the members inside it came from where did they come, this is the identification of this member, now two variables got created here, list and new list, here also a variable got created in the memory, by what name, new


key: chroma:document
string_value:
got created in the memory, by what name, new list, but here it does not have any new list, but what is happening is that this list was pointing to the house, this list is also pointing to the same house, when we assign it like this, we call it pass by reference, what do we call pass by reference, when we do it like this, we don't send the data, but instead we keep the address, we don't just copy the data, but what we do is we just copy its reference, so inside the new list, we have given its


key: chroma:document
string_value:
so inside the new list, we have given its address, if I go here and see or write, the ID of the list is coming and which ID was it, brother, our old students Pass student not firstWhich one was it I took the list, here the same ID of both is coming, the same address is coming, he said that when the values ​​are the same then what do you just do, pick this also and point it towards this, okay so now it becomes the same address, so when the address is the same, now if your address and your


key: chroma:document
string_value:
address is the same, now if your address and your brother's address are the same, father says friend get one more floor built on top, it will be built for you, it will be built for brother, why are you not building it for brother's marriage, friend, it goes ahead, it means you will also say that our fourth floor is being built, your brother will also say our fourth floor is being built, now brother will say our fourth floor, what is the address of everyone, it is the same, isn't it, say the


key: chroma:document
string_value:
of everyone, it is the same, isn't it, say the black colored gate in the street, our brother also says the same, our black color, so if it becomes red, the color of its door, then the color of your door also becomes red, brother's door, so it is a pass by reference or a thing, if there is a modification anywhere, once there is a modification on the original, then whoever points to it, it will be done for everyone, it will be done for everyone, now from this If I delete someone from the list,


key: chroma:document
string_value:
now from this If I delete someone from the list, then it will also be deleted for the new list and while a separate list is created inside the list that we have, a new list is created, yes, yes, I just explained, yes, what will be inside this cell deep, its copy will be made, it will come in front as a duplicate, it will be visible, its ID will be different, what was the new student, its ID will be completely different, a separate copy of it will be made, now if any change comes in the new


key: chroma:document
string_value:
will be made, now if any change comes in the new student, then there will be no difference in the student, if it is done, then what is left, count count, like I work on which value is there, then the number of times it is there and here also the count will tell how many times the mass is there, once we read the sala method, it is not in the sala method, apart from count, we have remove reverse, what will be reverse, it will be reversed, it will be set to set, you can implement it yourself, you


key: chroma:document
string_value:
be set to set, you can implement it yourself, you can find out the index of any member from the index that brother, on which seat is this member sitting, today he is sitting on the hot seat, so zero two on number three That's it for today, practice it a lot, make a list, run the method function, delete itPlease take it out, it will be inserted so that you remember the name of the method, yes it is a mass monitor, from now on he will sit with us, this is our CY one, okay


key: chroma:document
string_value:
So I understood this thing, okay, saying can you print function with no value to print, what will happen, will there be no error, it will not come, okay, no error can also go, yes, it has not turned on yet, we were just roaming around, but this one has turned on, yes, yes, okay, look, has any button been shut down, okay, now see, we have this text, what do we have to do, create a variable inside it, now text and assign values ​​from the text to create a variable, so now, can a variable be


key: chroma:document
string_value:
to create a variable, so now, can a variable be created inside this sentence, what value can we put in it, name, name is equal to a name is better or friends name, friends name is better, so we should make it friend name and what value will come inside it, right and then in the next sentence, a variable of age is being created, yes 30 in the next sentence, what is the profession, in the next sentence, degree, what should be the education qualification, what should be the qualification,


key: chroma:document
string_value:
qualification, what should be the qualification, bachelors in Bachelors in Law okay then what other variable can be there in it in the year 2015 so what can be it brother degree degree year or pass out year yes or graduation year what should I write which seems more suitable passing out year now I don't know from where are you passing it will come in the value it will come in the value but if I remove all these details and just write passing out year then passing from where did you pass by any


key: chroma:document
string_value:
year then passing from where did you pass by any street friend just call from reception we will open the screen so in my opinion we should do graduation year na I think you can have your own opinion graduation year so what will be graduation year brother okay he is working in a reputed law firm name is in Karachi and what should I write from 2015 yes law firm law firm name should come okay and location location of what job location or firm location Karachi and what to do for this sorry what to


key: chroma:document
string_value:
Karachi and what to do for this sorry what to do for this one bha Karachi since 2015 so what Who should make 2015 a variable? Yes, working since job location is there and any other good [music] so experience can also be done but this can be done as job joining year, this can also be done as date of joining, see, year of joining will be new year of joining, okayAnd he is a handsome player with height of 5.10 feet What should I write in height now how will it work whether it is in meters, in


key: chroma:document
string_value:
now how will it work whether it is in meters, in kilometers, in feet, in inches yes, no, most of the times the height comes in inches also, yes I can tell him in the variable as height in feet 5.10 because if I put feet here then I will have to create a string and when I have to create a string then I will not be able to get any processing done on that value for calculation right and weight 706 grams what should I write here brother we do not use weight and these we usually do it short, height


key: chroma:document
string_value:
weight and these we usually do it short, height in feed I can understand how much is the weight in grams brother his monthly income is 200000 what should I write brother monthly income 000 okay what will I have to write next by writing it okay all the variables are there, there is no mistake in this ok ok above we told the name of the farm, told the job location so definitely common sense clicks on the year Of joining of this job we are talking about, by the way you are right, yes, so what


key: chroma:document
string_value:
about, by the way you are right, yes, so what should I write, of joining law firm, so joining will be job joining, right, that's fine, let's do law firm, it's fine, of joining form of gender, gender, somewhere gender, I have said that my friend Ahmed is a man, a woman, now whatever thing is present, they should be given the same, then I don't know what all they will take out, they will also say two lakh tax, calculate how much and make rebel, right, now if he is handsome, then brother, which


key: chroma:document
string_value:
right, now if he is handsome, then brother, which hero does he meet, well Maj ji, this cell will get deleted, then it can be undone, this delete cell undo delete cell is fine, but it will not happen after too long, it becomes foreign, take it back from foreign, you ok, I will execute it, it did not give any error, it means it is absolutely correct, in the same way we learned to create variables, now it says how many years has been to Mr. Ahmed after his bachelor's degree, how many years has it


key: chroma:document
string_value:
his bachelor's degree, how many years has it been since he did his bachelor's degree Create a variable that holds current year value and then subcut it from the passed out year of bachelor's degree, how many years have passed? Yes, what variable should I create? First create a variable for the current year, current year, thank you friend, okay, after that now I have one year, that is graduation year, so what should I do for years after, brother, should I minus it in the current year?Let me


key: chroma:document
string_value:
should I minus it in the current year?Let me minus the graduation year. Okay, years after graduation will appear. Right, everyone is understanding. Yes, look at the graduation year. Come here. Understand, understand, understand. Okay, he had done his graduation. He has done his bachelor's in law in the year 25. Okay, so that's why we created a variable for the graduation year. No, this is what I learnt. Once a variable is created, its value goes into the memory. Now, as many times as I call the


key: chroma:document
string_value:
into the memory. Now, as many times as I call the name of the variable, the value will come out from it. Just like this, I have run it. Look, there is a cell here. Look, look here, I add a cell here and cut the value e 100. Now, as long as this notebook is running, a 100 is present in the memory. Now, if I move it here, go here and say print e, what will it bring, then wherever I will use it, that value will remain. Okay, if listen brother, if I uncheck this cell as well, okay? And even then we


key: chroma:document
string_value:
uncheck this cell as well, okay? And even then we can go and run it again, the cell has been deleted, that can happen by mistake and we can do it ourselves as well, but this value has not been deleted from the memory, what did I say to delete it from the memory, I said del A, now if you say A, it will not be found, okay, so once it is created, you can use it anywhere in that notebook, now I said Jumla, it will be used in the same notebook, if you want to use it from one file to another, then


key: chroma:document
string_value:
you want to use it from one file to another, then there is a different way of doing it, we will learn later, how do we do it, okay, so once it is created, it has been created, how many years has Mr. Ahmed been working with the firm Himalaya Associate, create necessary print the correct number of years in the firm, how many years have he been working in Himalaya Associate, yes, should I create the current year again, no, no, I have created it once, so what should I write now, what variable


key: chroma:document
string_value:
once, so what should I write now, what variable should I create years in, okay, what will happen, current year minus minus, which variable was the year of joining law form, okay Year of joining law form it's been a year right now it's called convert the monthly income of Mr. Ahmed in dollars create necessary well print the income in dollars so we had created monthly income in PKR now I am going to make it in dollars so what will happen brother monthly incomeBy what should I multiply these PKs?


key: chroma:document
string_value:
incomeBy what should I multiply these PKs? What is the rate of dollar today 278.8? If someone's salary is two lakh rupees Pakistani, maybe Pakistan will someday progress so much that when we multiply any dollar amount, then we have to take it out in dollars, we have to convert it into dollars. Yes, can you make it in a minute, make a dollar rate variable? Let's write it simply without variables. What was 270, how much was it 8.55? Just divided by, okay, then this will give the income in


key: chroma:document
string_value:
by, okay, then this will give the income in dollars. His salary is 718 dollars, okay, if we multiply it, it would become a lot of dollars. Okay, basically, okay, is there any confusion about when to multiply and when to divide? Yes, okay, let me tell you. Then, one guy quickly go behind, you tell me, you are very yes, behind the green shirt in the second last corner, ir, ir here, the first column, yes, tell me when to multiply, when to divide, why did I not multiply, why did I divide, you go


key: chroma:document
string_value:
why did I not multiply, why did I divide, you go friend, he will be happy. So I am asking why did you divide? Yes, why do you divide? Whenever you go from a smaller unit to a larger unit, you divide. And when you come from a larger unit to a smaller unit, well, remembering both these things together is crazy. Whenever they come up again, you forget them. So, remember any one of these things. The other will be remembered automatically. If you want to go from kilometer to meter, then where are


key: chroma:document
string_value:
to go from kilometer to meter, then where are you going from a larger unit? So what will you do? Even now, someone is saying divide, we will multiply. Okay, similarly, if you want to go from centimeter to meter, then we will divide. Centimeter is smaller and meter is bigger. Right now, we have dollar, by the grace of brothers, it is more, it is heavy. So, if we want to go to dollar, if we want to go to a larger unit, then we will have to divide. To import the live value of dollar, we will have


key: chroma:document
string_value:
To import the live value of dollar, we will have to do a very long story. We had to use an API. We will have to fetch the dollar rate from it inside a variable. Then we will have to keep it here. Then our program will be automated. Whenever we run it in life, it will automatically fetch the current dollar rate. Okay, but you can do it. You can do it ok brother check if the income in dollar is a float or integer value now you have to check thisWhether the income that has come in dollars is a


key: chroma:document
string_value:
the income that has come in dollars is a floating value or an integer value if it is a flood, then raise the code so that income gets converted into integer print the income in the integer type value so what should I do first I have to check the type so what should I write brother what type should I use I have to check the type of whose type I have to check the monthly income in dollars what is coming brother what are you saying now if this is a flood then write the code so that what does it


key: chroma:document
string_value:
a flood then write the code so that what does it become it becomes an integer it gets printed and then what do I have to do type cast this monthly income in dollars how should I type cast it from integer and then get it printed it is not getting saved in a variable just print it directly okay right the comment is print it will be done in this there is no need to create a variable so how much is left then earlier it was a flood and how much is left after type casting print the type of Mr. Aham


key: chroma:document
string_value:
after type casting print the type of Mr. Aham weight Mr. At tell the type of weight print type of weight in grams and what else I have to convert the weight of Mr. Ahmed in kg. Now I have to go from gram to kg. I have to go from small to kg. What should I do? Divide it and what will it print? Weight in grams divided by will come to us. Okay, earlier it was an integer. Now what will it become after dividing it will become 70.6. It is written next, convert the weight of Mr. Ahmed in kg. So how is


key: chroma:document
string_value:
convert the weight of Mr. Ahmed in kg. So how is our integer value coming out? It is coming out to be 70.6. Now what should I do? Type cast it so that it gets converted to integer. Yes, it will get rounded but its result will not end. The round will be rounded after decimal but it will also take it up to zero. It will remain written as zero, like rein ba also. Look, let me show it here. Now I am saying here. Now I know that it is coming out to be 7.6. I apply a function of round. It rounds the


key: chroma:document
string_value:
7.6. I apply a function of round. It rounds the value. For example, if the value is 5.9, then what will the round give us. Okay, if I say 5p, what will it give me? That is, if f is greater than f, then it will be taken forward and the rest will be written behind. Now I will round it here. Let me get it done. I rounded the weight in grams and what did we get? 71. Well, brother, what did it do after rounding it? It converted it to an integer and but the value has changed. We were not told to


key: chroma:document
string_value:
but the value has changed. We were not told to change the value. Well, it's okay. Print it.Year of birth Mr. Ahmed Mr. In which year was he born, how old was he, how many are he today, how many are he 30 so what should I write yes brother what should be the year of birth brother current year minus j current year minus a so what will be the year of birth how much is it coming he was born in 96 94 94 okay I understood it, so all those things are covered in it which we learnt in the previous class


key: chroma:document
string_value:
in it which we learnt in the previous class that how will we create a variable and how will we use the operators plus minus multiply divide done it's done well how many of the new people sitting here understood it found it easy just have to keep storing the value in the variable if there is any person who has not understood it, look among the new people, if he has not understood then he has to say what is this thing, that's okay slowly slowly where did you get confused that brother what is


key: chroma:document
string_value:
where did you get confused that brother what is happening, I did not understand this thing, when we are creating a name for a variable which is large, that is, it is a combination of two or three words, then we cannot put a space in it In the middle, so to make it readable, if I write it together, it will not be readable, all the spellings will be continuous, so to make it readable, we put an underscore there to join both of them, so that it becomes readable as well. Okay, what are you saying


key: chroma:document
string_value:
readable as well. Okay, what are you saying next, can 100 be divided equally among six students? Can it be divided equally among six people, how many will you give? If I give 10 10, then there should be 10 people. If I give 20 20, then there should be people. If I give 15 15, then only 10 will be left. So how will we know this in the code? We will write simply, if there is equal division among the people, then what will the reminder come out to be zero. If the reminder is not coming out to be


key: chroma:document
string_value:
be zero. If the reminder is not coming out to be zero, it means some money is remaining. There should not be equal division, it should be completely finished. Re percent, I had told the operator in the previous class, in bulk, I had told that there are some divisors, which is the divisor, divide which is left, if I remember inside the reminder division, then this model will tell us. what gets written when I divide two numbers then what do I get as the answer which is multiplied i.e. quote


key: chroma:document
string_value:
get as the answer which is multiplied i.e. quote comes, I remember I will have to tell you again brother we had read that when I divide two numbers by fourIf I divide this by 18 then what is left? Both are equal. Then you will get confused. I will make it 18. No, yes, okay, so 4 for 16 is left. Okay, so now when I divide 18 by 4, what is the answer? What is the answer? 4.5. Or if I do integer division, which is the four that we have taken above, but this reminder, if I want to know, brother,


key: chroma:document
string_value:
but this reminder, if I want to know, brother, after dividing, the complete division is not happening, it does not come in the table, then how much is left, so what do we use to find out the reminder, the model does not tell me how many times it was multiplied, it tells me what is left after dividing, so how much reminder is left. Now if I take 100 from reminder six, okay, I take it from reminder six and if it becomes completely zero, then it means that it is divided equally among all, but here


key: chroma:document
string_value:
that it is divided equally among all, but here it is not divided equally. Four is remaining, it means equal distribution is not clear, brother, user input, I had also got this done in the class, the work was done, yes, it was done, right, Sir, father had to take all these inputs, operators, what will be the answer to this, brother, the new people should also try, the sign of m is and this is the sign of power, what will be solved first, power will be there, if power is there first, then what is


key: chroma:document
string_value:
be there, if power is there first, then what is the power of 27 27, power is solved, but if it is done, then what will happen now, so 216 is correct, what is the output of the following expression minus f how is the power, let me tell you, look, when we are solving the expression, then I changed it here in power, is that good, no, no, no, look, it is not necessary that two is written in power, it is not necessary brother, it can also be written like this, power of two, f can be written, what


key: chroma:document
string_value:
like this, power of two, f can be written, what you are talking about is under root, which every time the power is how much, it is nu and if in that also, instead of square root, r is put here, then cube root will be formed It becomes 3, that is what happens, but the power can change here, the power of t can become f, yes you have solved this, first the power of 3 has been solved, what will be 3 to the power of 3, no no friend three times 3 3 3 9 and 9th 27, now this 27 is from uWhat will


key: chroma:document
string_value:
3 3 9 and 9th 27, now this 27 is from uWhat will happen if it is multiplied 50 then 54 by whom should it be multiplied by f okay ok this minus divided by 4 what will be the answer minus f can someone explain why will it come let us get this solved I will get it solved by you we can see we can see why not we can see okay - 18 divided by 4 ok brother who will divide 4 for 16 4 for 16 became 16 plus the sign of minus will change later so these both will become minus how much has the answer become


key: chroma:document
string_value:
will become minus how much has the answer become for minus something is going wrong something is going wrong now what should I do brother that day I had said one thing very clearly that we divide what do we read multiply by such a number that either -1 comes or something smaller than -1 sometimes greater than 10 we will not take it below it comes smaller than -1 or it comes to -1 this much we read the table brother it is not written read this much it comes 9 33 9 and 10 is written So divide by


key: chroma:document
string_value:
it comes 9 33 9 and 10 is written So divide by 3. Read it till you get 10. If the number is less than 10 then you cannot take 11. Now tell me which number will be smaller than -1? The number smaller than -1 will be -1 and then the number smaller than that will be minus 20. So now how many times will the table of four be read? If minus comes five times, how many times will it be read? This will become plus minus minus 4 5 20. What will come here? Plus of two is okay. Then we extend it further.


key: chroma:document
string_value:
Plus of two is okay. Then we extend it further. If we extend it by putting a point and extending it by zero, then how much will it become? 4 5 20. So what will be the answer? We have a reminder of zero and -55. But we have put a double slash, so what does the double slash do? It will discard this part. It comes in single slash. The decimal part is not shown in double slash. So what will be the answer? It will become five of minus. Did you understand? What is it saying friend? Print the value of


key: chroma:document
string_value:
What is it saying friend? Print the value of x, the value of 6th 2. Print the power of y. X double slash X. ki power means the power of 6 is 36 is there any confusion here look when y is left from here then y becomes smaller when it becomes smaller then what do we do, we increased the zero by putting a point we read the table of afr times it became 20 so this whole reminder is over like this it is correct well y is correct what is it saying what I am printing 10 minus 4 will first be multiplied


key: chroma:document
string_value:
I am printing 10 minus 4 will first be multiplied and then 10 minusCome on, what will be the answer to this, brother, if you are answering the model, then okay, now I will ask, why will it come, I have run it and seen, it has come, okay now tell me why will it come, what we have, this is sine, it is inside and six is ​​outside, now what should I do by putting a point, yes, in case of reminders, we do not put a point, because that reminder is all zero, it will always divide and leave, it just


key: chroma:document
string_value:
zero, it will always divide and leave, it just stops wherever the value becomes small, like understand here, now here I have 16 and if I divide it by sine, then what will happen, set 14, now what will I say, how much is the reminder, if I want a reminder, if I am saying no, divide it exactly, then what will I do here, I will put a point, increase the zero, then I will keep running, I will keep running until it becomes zero, so that divide does the same, now when does the operation stop here,


key: chroma:document
string_value:
the same, now when does the operation stop here, when the reminder comes, the smaller than sine will be equal to sine, then we will read the table once more, if it comes bigger, we will read the smaller one once more. If we go then what is the division and what is here already, so what will be the reminder, this is what will go, okay, what is it saying, 36 di 4 na or 9.0 9.0 single sl which keeps the decimal part, okay, we have done this, in the real Python example also x is written, in this


key: chroma:document
string_value:
real Python example also x is written, in this expression what are a and b, the operator is a p b - 5, what is the statement, it is an expression, what is the equation, the expression is in the equation, the sign of equal to two should be mandatory, without equal to two it is an expression, okay, what do you ask, see, we used to study in mathematics, we had an equation, okay, equation or this is in which we are saying that x is equal, the sign of equal to two is present inside it because the


key: chroma:document
string_value:
of equal to two is present inside it because the sign of equal to two is major, so what do we call it, it is called equation, okay and if the sign of equal to two is not present, it is greater than less, then what do we call it, it is called in equation What do we call these equations? Then if it is not equal to anything, how can I call it an equation? So, what do we call it? It is called an expression. And let's go further in this as well. If there is any variable in this, we have xva which


key: chroma:document
string_value:
there is any variable in this, we have xva which has been used and power is applied on it, quadrate.That equation is a cubic equation, power, if negative power is applied, then it is not even called an expression, what would it be called, Paulino, okay, so now what do we have, a and b, operator, okay, and what would we call this, expression, this much part, what would it be because it is without equal to, so we would call it an expression, okay, what would be its value, well, we should use


key: chroma:document
string_value:
what would be its value, well, we should use double to double equal operator, we should not use it, so I had said not a good idea because the result is very long, it gives a very long expression, it will never come out equal, we had also seen this thing, maybe look here, if I say that brother dif, what will be the answer like this, aa 2 p0, if I say like this 0 i 2 p0 is equal to the value y, then the value wa is equal, so what is equal to it, something comes to y in it, I will see, what is the


key: chroma:document
string_value:
comes to y in it, I will see, what is the answer, the cube will be taken first, aa aa zrab ch 32 psv, which one, leave it now, okay, leave it now, and my example I am not coming to my mind, yes the decimal one is a real python, the division in its apple, how much will the answer come, 33, okay, now it will not come equal, pull it till anywhere, how much will it come, okay, so because of this, we do not take it, do not apply the double equal operator on the plotting value, it is good, it is


key: chroma:document
string_value:
operator on the plotting value, it is good, it is done, this was our first task which we had to do, yes the modulus one, what we just did, in this, I had said that 0.3 will not come at all because this division will not start at all, then the same will remain as a reminder because for the model we cannot convert it to decimal, we do not do that, okay, print it and write it, if in the answer, then only two will come, friend, definitely two will come, copy this, put it here, correct, what was our


key: chroma:document
string_value:
copy this, put it here, correct, what was our second assignment, conditional, this one, yes, the second ten practice assignment one is here, it is coming, where did it go, pick it up again, who is sleeping from here, don't do this, I also did not like it, friend, where did the group go, your brother, this one, okay, this is a little in comparison to this. It was conditional which you guys had to do, so starting with the first question, what is it saying, a company decided to give bonus of 5 per


key: chroma:document
string_value:
saying, a company decided to give bonus of 5 per two employees, if he has been in service for more than five years, what will be the bonus, if he has been in service for more than five years, then how much will be the bonuswill get it otherwise the other one will not get it. So first of all how many things do we need now in this first of all I will have to ask how many years have you been working, okay and if he has been working that many years then his salary will have to be calculated at 5%


key: chroma:document
string_value:
then his salary will have to be calculated at 5% so salary will also have to be asked, so salary will also have to be asked, I will have to ask two things. I have also written this to ask what should we do, brothers input, okay how many years have you been in the office, how many years have you been in the office, so these years will be of the type integer, the result should be kept in the form because someone will say 1 year, someone will say 1 year, three months, okay so I typecast this, why


key: chroma:document
string_value:
year, three months, okay so I typecast this, why are we typecasting it because the value given in the input is in what form, it is a string, it is considered as a character and what do I have to ask from it salary, take the salary in integer, it will not tell in decimal, input what is your salary now what do I have to do now see what was in the question, the company is saying that it will give bonus at 5% if the service is more than how many years, more than 1 year If yes, then I have passed


key: chroma:document
string_value:
more than 1 year If yes, then I have passed the service, so what should I write here, I will write exactly what is written here, if the years are more than five, then what should I do, give bonus, create bonus on 5% of the salary, how to calculate 0.05 on salary 5, I had taught you earlier, don't do it, you will get bonus on 50, the person will be very happy, if the salary is more than 5 years, then how much will the bonus be, otherwise what will they say, will they give a statement, will they


key: chroma:document
string_value:
they say, will they give a statement, will they give a statement, sorry you are not eligible for bonus, okay, any issue here, yes, if this will work now, what is happening behind, there is Ghusal food cooked behind, hey, look here, some sweat has come out here, all of you people are sitting in AC, okay, now I can keep the bonus separately, but I have not printed the bonus in Else, so I am not worried right now, if it happens then it is S, otherwise it will come and yes, see right, now I will


key: chroma:document
string_value:
it will come and yes, see right, now I will tell you here, I am asking you, how old are you, Mashallah, it is 40, so I am creating a variable in your name, age 40 ok what is your name I have created a variable here salman age 40 now whenever I call this salman age will come to me 40It will come okay, I have just written this A myself, if I want that the user who is running my program should interact with it, he should do his own age, what should he do, input yes, enter the input, take it from


key: chroma:document
string_value:
he do, input yes, enter the input, take it from the other person, then what will I do, then I will not do this, then I will say input this is the function of input, stop now this is the function of input, if I run this then immediately a box will open there that brother give me the input, now I have written 40 here, okay, let me give a message inside the input so that the user knows what to write, enter age now what will be written, enter age now here I have entered A 45 I will also get it


key: chroma:document
string_value:
now here I have entered A 45 I will also get it printed [music] hmm print Salman J, I said 100 100 got printed below, it is correct but it is still coming, if I do this, what should I do from Salman's age, brother subtract 10 years from Salman's age, now how much is J, I said 40 now how much should come in the print 30 but it will not come, why will an error come because it is saying that the age you have input for me is not a number. In which form is it in string form, that is, see what I do


key: chroma:document
string_value:
form is it in string form, that is, see what I do here, I say here type of Salman judge print type of Salman age, so now it will tell me that why is the data like this whenever we take input from the user and enter value, whether we enter a number or write text, write anything, how will it be saved in this variable, in which form will it be saved in string form, in text form, okay now I have put y 100, so what is it telling, what is its class, string class, okay, so now if I say now you cannot


key: chroma:document
string_value:
class, okay, so now if I say now you cannot minus a number from inside the text, I say subtract 10 from l, it will not happen, so that is why we said that this judge which is coming to you in string, first convert it into integer, then put it inside the memory, okay, so now before going inside it, what will that string become, then we have put the label of integer on it, now it will also become minus and divide class i and 10 years minus 45, so 35, okay, so at the end bonus I should get it


key: chroma:document
string_value:
so 35, okay, so at the end bonus I should get it printed as well, yes yes yes this one is good, just bear with it a bit, understand the basic thing, yes these are the conditions.This is the syntax, if we go to the class syntax then that time will be over, inside that we will see that in the next class now I have printed this bonus, what will be the answer if I say here, how many years have you been in the office, I say it's been 10 years, what is your salary, 0000 then what will be the answer,


key: chroma:document
string_value:
your salary, 0000 then what will be the answer, how much will be the bonus, 00 okay but how many years have you been in the office, I said, it's been two years, what is your salary, I said, 0000 what will be the answer and how did zero come, zero did not get assigned in the bonus, an error will come, will an error come, see, this answer because it got created in the memory first, I change the bonus to B so that it now I said, it's been two years, what is your salary, 00 now it's been 20, two


key: chroma:document
string_value:
what is your salary, 00 now it's been 20, two years and 00 this is the error of error, everybody please pay attention, I had also explained this thing in the previous class that when this condition did not become true, then this B was created in the memory and it came in else and when it came in else you said print b what do I know so for this I had explained one thing that what should you put in B beforehand, put zero value even if it is not acute then B should have a value here he should not


key: chroma:document
string_value:
then B should have a value here he should not start crying I don't even know if he knows that B is zero so at least 00 how much is the salary 20000 years I wrote this Ajna's family works in a software house Python developer so for example it has been four years how much is the salary so much zero now it will come zero because now it has got zero from there how many five should I write here 5 years how much is the salary 5000 what will be the answer zero why zero because we have written greater


key: chroma:document
string_value:
zero why zero because we have written greater now it should be greater than five if I do it again how many years have passed I said 5.1 now it has become greater or 5.00 yes then five will also be included then how much is the salary now it will come okay okay that's it the second question was exactly about IFLS that how to write a program that a voter can cast his vote Is it possible to enter it or not, ask him his age, if his age is 18 years, then he is eligible, if he is 18 or more than 18,


key: chroma:document
string_value:
then he is eligible, if he is 18 or more than 18, otherwise not eligible, then should I input brother, judge, should I input, please tell me my age, now I will have to type the age also, I will do it from the plot, now what should I do, now do I have to check, should I check, brother aIf the edge is greater than or equal to how much is 18 then what should I write if the edge if the value that came in edge is greater than or equal to whose 18 then what message will I give brother it is eligible


key: chroma:document
string_value:
what message will I give brother it is eligible for vote otherwise what will happen brother not eligible for vote okay any issue here tell me my friend 195 okay then I can put it right right what else should I do if I put negative then it will come out smaller only that way so friend age 15 not eligible do I understand take the values ​​of length and breadth of rectangle from user and check if it's square or not what is it saying take the values ​​of length and breadth and tell whether it is


key: chroma:document
string_value:
​​of length and breadth and tell whether it is square or not what is a square in which length and breadth both are equal so we will just check both let's take the input length flon pup inter length [music] and breadth breadth now what condition should I put if the length is equal to whose breadth then what will happen it's a square else print it's rectangle okay if it's a rectangle then we have length I asked for four bread, I asked for rectangle length, I said 4.6 bread, I said 4.6, so what is


key: chroma:document
string_value:
length, I said 4.6 bread, I said 4.6, so what is square, this is it, right? Sir, write a program to check whether a number entered by user is even or odd, how do we know when a number is even, when it comes in the table of two or it is completely divisible by two, now how will we know if a number is completely divisible by two, definitely any number if I divide it by two, reminder, if the result is zero, then what is it, it is even, I will try to understand it, so right now I am able to


key: chroma:document
string_value:
try to understand it, so right now I am able to understand verbally, brother, what is the definition of even if it comes in the table of two, how will it turn out, if it comes in the table of two, if it comes in the table of two or it is divided by two, it is the same thing, so if it comes in the table, if a very big number is written, then that much number will be equal, so we can also check division by division, if I divide, like here, we divide Do it here, if I start dividing, brother,


key: chroma:document
string_value:
divide Do it here, if I start dividing, brother, whether this 16 comes in the table of two or not, how will we know, because of whom will we know that 2 8 16 comes in the table of two or not, because there is no reminder left, any zero if this would have been 17, then what would have become one, it would have become a reminder because he has completely divided the remainder, he has given a complete division in one go.We have widened it, okay, so that is why we say that this 16, there are


key: chroma:document
string_value:
so that is why we say that this 16, there are different things to be said about it, 16 is a multiple of two, okay, what is 16 of 2, or should I say this way, the way we say that 16 comes in the table of 2, or should I say this way that 16 is completely divisible by, all these things are indicating the same thing, so this concept of divisibility by is used here, how do we take a number input, int input enter a number, okay, enter a number, let's input it, okay, enter a number, now what do I have


key: chroma:document
string_value:
it, okay, enter a number, now what do I have to do, if I take the modulus of that number and what is the remainder equal to, that is, when I take the modulus of the number by two, then either any answer will come or any number will come back, if the number that is left is zero, then what do we say brother, let's do it directly, s odd, okay, so now let's go here, int number 42, what kind of number is it, even, inter number 57 odd 15 is it working okay now in this question we are saying right


key: chroma:document
string_value:
okay now in this question we are saying right program to check whether number is divided by sen or not now I have checked a number with two now with what do I have to check so what difference will it make here only sen will come here and if it gets divided then what will I say yes now if it is even or odd then what will I say it is divided by seven it is not divided by seven write a program to display hello if a number entered by the user is multiple of five if it is multiple of five then what


key: chroma:document
string_value:
of five if it is multiple of five then what do I want to print here hello and if it is not then what do I want to print bye okay it will be done good this is the code this is a bit lengthy now I am leaving it right program to display the last digit of the number how do I do it brother which one came from where did I give it to print the last digit of any number like I took the number here what are I doing I took the number like this okay now if the user enters such a big number then which digit


key: chroma:document
string_value:
user enters such a big number then which digit do I have to pick this should come in the last answer okay so what should we do mathematical way of this so This is it, I would like to write just one small thing here, if someone has just said that I should take the model of the number from where should I take it, from 10 when I modulate it from 10 then the last digit of any number will always be smaller than 10, at the end any numberWhat would be coming from r, would it be coming, would it be


key: chroma:document
string_value:
be coming from r, would it be coming, would it be coming from and when there is no d, then it will be saved as a reminder, so look here, I have written tooth, when I take the division from 10, what will be left, 10 12 3 is left, okay, then again I have taken it here, I have taken such a big number, now what will come, the whole number will be divided, but in the end what will be left, will be left, okay, so let's go, it was a little mathematical, you could not reach here directly, but from here


key: chroma:document
string_value:
you could not reach here directly, but from here we can reach, what if I take the number input, okay, now I am getting it printed, now I have also finished type casting it, I have given a number, in which form is it coming, it is coming in string form, I have put quotations, now from this I have to pick up the last number, so its index minus v, if it starts from here, then one and if it starts from here, then zero tooth 4 5 6 7 goes like this and if it starts from here, then Manav might minus


key: chroma:document
string_value:
if it starts from here, then Manav might minus 3, so I want this, I have picked up Manav Human, enter any number and if you want it in number form then what should you do, type it, okay, which one, I have just read about indexing, just stop now, first let me explain indexing in detail, then I will explain it again, okay, for today I am keeping it here.


key: chroma:document
string_value:
So Walekum Assalam, look, we or any of you should go and turn off the rear lights, there are boards in front, okay this is multiple inheritance and we are coming here, public protected and private, okay, okay we have three types of access modify, through these we can access anything, what is it, we can modify it and it is written in Python, rest of the access public, private and protected variables can be overridden, if the name is known then it can be overridden, okay the first thing was that


key: chroma:document
string_value:
can be overridden, okay the first thing was that we have some variables which are class variables, we talked about two types, what is class variable and what is instance variable, instance variables are all those variables which are defined inside the treatment and those which are defined outside the treatment will come inside the class, okay just like this we have a variable wheel, what kind of variable is it, class There is a variable and how are the windows door and engine types, there is an


key: chroma:document
string_value:
the windows door and engine types, there is an instance variable, why was there a need, look, I have explained this thing in a bookish way, what is the use case, what do I mean when will I create a class variable, when will I create an instance variable, the question is this, okay, look, there are some things that are common for everyone, what is it, it is common for everyone, that is, no matter how many objects are created, what will remain common for everyone, okay, like you all are there, I


key: chroma:document
string_value:
for everyone, okay, like you all are there, I am explaining by giving an example, yes, but there is an AC installed, the AC which is cooling or what is the AC installed, what is it for all of us, a common attribute AC is installed or when a new child gets enrolled, a new object is created, then the property of the AC should also be added with it, otherwise it happens like I am creating a database of a student, I have an institute, then inside this institute there will be the details of the


key: chroma:document
string_value:
this institute there will be the details of the student, his course will also be there, everything will be there, but since he is a student of my institute, so the name of the institute will be common for everyone. So why should I even tell you the name of Atrix or else I will create it myself once it will be common for all the objects, the right screen is visible, what is this for all of us, it is of the class, right, it is the class level, your own laptopThis is a mobile, what is it, it is


key: chroma:document
string_value:
own laptopThis is a mobile, what is it, it is instance level, every object has its own time clock, there is a big screen in front of the class, so that is a common time for everyone, if I change that time, then for everyone in the class the time will change, but you also have a clock in your hand, there is a clock in your mobile too, if you change the time in that, then it will be for you and for the equals, the same thing is for class and instance, when something changes at the class variable


key: chroma:document
string_value:
when something changes at the class variable level, then it will happen for all the instances, but when the object updates any of its properties, it will not happen for other objects, it will happen only for itself, it is clear, now we will try this thing on y, like we have a class, now we have a class level variable and I have written y with us, public class variable, okay, before this we had not used the word, but by default the variable which we have created without using any fingers, what


key: chroma:document
string_value:
we have created without using any fingers, what is it, public web is a public variable and public variable is just like a public toilet, whoever wants to use it It is public, isn't it common for everyone, you can also call it a public bus, friend, it comes in the public, it is written in big letters, so every person can sit in it, it is a public bus brother, so don't go, if you feel that there will be any such need, then brother, go ahead, but this is the same thing that can come at any time


key: chroma:document
string_value:
this is the same thing that can come at any time like death, well now what do we have now, now when I create this object, now when this object is created, three and four types will go, brother, if I lie down like this, then I also don't feel it at all, well, three types have to go, there are three windows, four doors, the engine type is petrol, the object is created, it's done, Suzuki car is a car, Suzuki can write it, yes, Suzuki also makes cars, it is created, it is super and a new parameter


key: chroma:document
string_value:
it is created, it is super and a new parameter has come in it, hers pa, hers pa, so four windows in this Suzuki car, there are four doors, it is petrol p and what is the horse power, 1600 cc, an object is created in the name of Suzuki, okay, when I created an object in the name of Suzuki, now you will see, I checked the directory of Suzuki, whose a, I had not done this work before, but now I am checking so that I can see what things are available to me, what things are availableWhen we checked


key: chroma:document
string_value:
to me, what things are availableWhen we checked the Suzu directory, we saw here where are all the doors, engine type defined, where are they defined in the parent, where are they defined in the parent, where are the window door and engine type and wheel defined, they are defined in the parent and here the parent class is defined, and what are all these, what are they public, so obviously it is public, so this class is also available here and the child class is also available and we saw here we


key: chroma:document
string_value:
child class is also available and we saw here we can see everything, the door is also visible, the engine type is also visible, the wheel is also visible, the window is also visible, okay, this much is clear, now let's move ahead, what to make a variable protected, now what are we going to make the variable, we are going to make it protected, that means we are going to put some limit, use a single underscore before the variable name like this, now put a single underscore before the variable, so


key: chroma:document
string_value:
put a single underscore before the variable, so what does this make the variable, it becomes protected, okay. What would have become, the word itself is different, where are you coming from, friend, have you not got wet at all, where do you live in the public bus, industry, you come from a long distance, friend, that's right, sit, sit, there are five corners of the seat, now what should we put to make it protected, we have to put an underscore, now first we should know what protected does and


key: chroma:document
string_value:
now first we should know what protected does and what it does not do, so what is the specialty of a protected variable, should be accessed from the sub class, any child class can access it, protected can be accessed by the child class only by definition, but in Python there is no restriction, that's the same thing, there is no restriction, if someone gets to know the name of the variable, then he can call it, but now you will understand what is the matter, it can be accessed, okay, what is by


key: chroma:document
string_value:
the matter, it can be accessed, okay, what is by definition, who can only call a public variable, the class can call it, it means that it will not be accessed outside the class, it will be inside the class and also inside the sub class, no Suzuki, like what do I make this variable, if I make it protected, then it The variable will definitely be found in this class, it will be found inside this class, yes there is a sub class, it has narrated it, it will be found inside, but I sit here and say


key: chroma:document
string_value:
it will be found inside, but I sit here and say brother, now what have we done here, windows doors engine type and hello hello caThis is a variable hello public I have written ahead and how are all these protected protected protected this is also protected this is also protected okay underscore doors okay I will execute this I executed it we created a car car class and first checked its directory checked the directory okay I have not checked which one yet I will check directly what is there


key: chroma:document
string_value:
which one yet I will check directly what is there doors engine type window and hello because right now only one class is created in the class in which it is created there is no tension right now tension protected is also visible and public is also visible okay brother now what did we do car two is not created now object let's create object car two now see the object which is created car two when I am doing this work then am I inside the class no no I have come out of the body of the class when


key: chroma:document
string_value:
no I have come out of the body of the class when the object is created outside the class only right sir okay now I am outside the body of the class I said car two dot see when I am putting dot then all the things were not opening for me I pressed tab I am just telling which one is coming in the suggestion, which one is not showing, it is not showing protected, now tell me, now if someone does not have the code, he must have imported it from somewhere in the module, then how will he know which


key: chroma:document
string_value:
in the module, then how will he know which variable is there, what is in the car name, the name of the car, in which variable will he not know, only the public one is understandable, but if someone comes to know that brother, its name is underscore Windows, okay, what is the name, then Python will not stop him, this thing is flexible, it is not a strong type language, if it is disclosed to someone, then he can call Windows, okay, the value will come, but for that he should know, this cannot


key: chroma:document
string_value:
come, but for that he should know, this cannot happen in other languages, even if someone comes to know, he will write and say, oh I will not give its value because it is protected, Python says go ahead, take it, but if he does not know the name, this code is not in front of him or it is missing from here, now he says car to only one variable is coming, go up, there is no code, how is it ringing This is a variable, okay, so when we apply the gate side, then now it can go to the variable of the


key: chroma:document
string_value:
side, then now it can go to the variable of the gate side, but daDirectly now what happened, the access has been closed, that the name which is in the name, father's name or the neighbor's name cannot be entered, this cannot happen now, the point coming is that let's go back, so this was the thing about protected and what was the definition of protected, that brother, the child class can access it, okay, but the class will not be able to access it outside, okay, you saw that the object of the


key: chroma:document
string_value:
it outside, okay, you saw that the object of the parent class is created, even that cannot be accessed outside, leave alone the child, father is not able to access it, understand the point, so the access outside will be closed, now yes, by applying underscore, what will become the variable, it will become pro, the point is clear, yes, now let's see, will the written class be able to access it, if any class Suzuki class tampers with it, then it will also be able to access it inside its class, it


key: chroma:document
string_value:
also be able to access it inside its class, it will not be able to access it by making the protected object outside, when it could not do it, then the child has asked to create this variable, so that the concept becomes clear, when the parent cannot do it, then the child class can also access the protected variable outside I could not access it, let me try it here, I did this, I took this code down here and what did we do, paste it now the same car which is with protected variable Suzuki did it


key: chroma:document
string_value:
which is with protected variable Suzuki did it and I created the object, okay, I created the object, now now what do I say Suzuki, what do you have, hello, whose father's HP, whose, rather hello, it is redefined, so okay, okay, which rays do you want to protect, I mean this has to be done when you are writing a program, according to your program, you will know what is the requirement, you cannot say anything, friend, what is the use case, make a webpage, keep it protected or not, so what has


key: chroma:document
string_value:
a webpage, keep it protected or not, so what has happened to this Suzuki, only its HP and father's hello, nothing else is visible to him, okay, I understood, who is this brother, he is not worried about the class, about the recording, then let's see, the recording will go ahead in the body, yes, it will be accessed in the body, in the body, I will create a method here, by defing, I have done the def I told you that BC is a method, in ABC method I said thatInside self, what did I just write on


key: chroma:document
string_value:
I said thatInside self, what did I just write on y, what do I write print, self dot underscore windows, yes, I have to put underscore, what do I have to do to put suggestion, I have to put dot after object, so I could run it and see or it will work like that, it is not showing dot a b c method, I called it, it showed, okay, so with the class, father is also inside his class and son is also inside the class, not outside the class, in Python, only the second friend, the parent class got hidden,


key: chroma:document
string_value:
the second friend, the parent class got hidden, now I write on y by doing self dot and check, what is it showing, it is not showing, yes, this also, so it is completely outside, the access thing is right, so good now I have understood, what are the two types of variables, which are class variable and instance variable, how is the instance variable accessed, to access an object variable, it is necessary to have an object, okay and to access a class variable, there will be a class, class L Banana


key: chroma:document
string_value:
variable, there will be a class, class L Banana of the class, the class variable is an object It can also be accessed and can also be accessed by the name of the class. Okay two things. Then after that we saw what kind of variable is a public variable that can be accessed by everyone everywhere. I can access it inside the class as well. I can also access it outside the class by creating an object. If it is read in the child class, then the child class can also access it easily. Then we talked


key: chroma:document
string_value:
class can also access it easily. Then we talked about protected. What was the specialty of protected that it can be accessed only inside the class. If it belongs to the parent, then the parent can also access it inside its class. And when I am saying inside the class, then I say within class body. Then people think that this line is also inside the class. No brother, no, this is outside the class. This line is outside the class. The class ends here. This is the body of the class. The thing in


key: chroma:document
string_value:
here. This is the body of the class. The thing in its indent is inside the class. It came out of the indent. It came outside the class. So it will not be accessible outside the class. The protected variable should neither be in the parent nor an inheritance variable, but it should also be static. What if it is a class variable but it is also static, what does it mean if it is a class variable or a class variable is staticWhat happened with the variable R now listen again I read about two


key: chroma:document
string_value:
the variable R now listen again I read about two variables class variable and class variable and variable okay what can I call the class variable in it I can call it static variable static means if there is a change for one then what has happened for all the changes have happened now we will try that thing here and I have also written here what do class variable and static variable mean they are one I did not say different why when they are same then why am I saying it again and again the


key: chroma:document
string_value:
same then why am I saying it again and again the question is this listen to me first okay what am I saying when it is same then what is the need to keep static do it friend what is it okay but there is a reason I will tell you the reason now now see here static and class level variable what will be created here what kind of variable will it be now I am using both the terms this wheel or what kind of variable it is static as well as class or wheel should I call it static or class can be updated


key: chroma:document
string_value:
should I call it static or class can be updated using the class name for the object it is the same thing This screen is static as well as class. If I make any change on the screen, then the change will happen for all the objects. Okay, the change will happen for all the objects. Now come back. Now what have we done? We have created a t. It is not asking us for anything. We have put hard coded value. Non-static object and instance variable is static. So what will we call its opposite? We will


key: chroma:document
string_value:
So what will we call its opposite? We will call it non-static. It is a class. So which is this? Is it an instance or object level variable? Right brother, and if this is what will happen? If it is an object, then it is called non-static. This sir has three names and one address. If it is non-static, then the change will happen for that only. It will come now. And for that, one has to come in the class. If not, then come home. Well, brother, I have put sed mileage 10. Both of these are usable.


key: chroma:document
string_value:
put sed mileage 10. Both of these are usable. They are non-static. And this is what will change. It is an object. And what will we call it in terms of identity. What will we call it in terms of access modify? Is it public or private? Protected? It is public. So look, it is only one. There are so many things in a thing, right? Like you are a brother as well, tomorrow you become someone's husband, then you become someone's father, you are someone's uncle as well, so it is the same thing, you are


key: chroma:document
string_value:
uncle as well, so it is the same thing, you are involved in polymorphism, the person is one and the same but in different scenarios.What is its functionality, what is it, it is so happy, it is different, till now the teeth were not coming out, right brother, right brother, now the voice is coming, did it stop or what has happened to it, yes, when in the initial state it is saying that when the object is created, give the value, I have just put in the hard coded value, I am not asking you to


key: chroma:document
string_value:
in the hard coded value, I am not asking you to hard code for the object, okay, now what did we do, two objects were created, how many objects, two objects have been created, okay, now the value is static, see what did we do, it is a static variable and can be accessed using the class name, as well as the object name static which is of the class name is also of the class, the class can also access it and the object can also do it, see what did we do, yes what is the car, the class is also


key: chroma:document
string_value:
did we do, yes what is the car, the class is also asking for the value, what is the sew, the object is also asking for it, what is the seat, it is also asking for it, so all three are accessing two objects and one class, both can be accessed, four four four are coming, okay, so the class level variable An object can also access it and a class can also access it, but an object level variable cannot be accessed by a class, it can only be accessed by an object, right? Let's move on. Now what have


key: chroma:document
string_value:
by an object, right? Let's move on. Now what have I done here? If I update the wheels at the class level, if I update the wheels at the class level, then what will happen to everyone. Now the wheels of the car have been made five. The class did it. The object did it. The class did it. So when the class accesses it, how many will it get? When the object accesses it, how many will it get? How many will it get? The other object will get five. Because when the class changed it, then it has changed


key: chroma:document
string_value:
when the class changed it, then it has changed for everyone, right? Son, whose was it? It was of the car class, when the class itself made it five, then what happened to everyone who is accessing it? Did you understand this at the class level? Yes, what condition should any company apply? Now it is updating only for the object. Now an object comes and says, no problem, I am adding one more to my object. So what if he comes and says friend I am putting one more wheel in my car then what will


key: chroma:document
string_value:
putting one more wheel in my car then what will happenThis will be installed in everyone's cars and there will be modifications for this object only, okay let's see the object, he said, I added another one, how many did I change, now see how much will the car get, how much will the five cars get and how much will the S2 get, there will be no space for that, okay, it's a very straight forward thing, if you understand line by line, then there is no such issue, updating will happen again at the


key: chroma:document
string_value:
no such issue, updating will happen again at the class level, now this is a bit test, now the class said friend, I did 10 by changing 10, what did the class do, it made 10, so now it has been accessed again, now here I said this because once it has taken its responsibility on its own, then the class is also saying go and stay, why because what did it do by going to its particular object, it changed it, so now it will keep running on its own, the seat did not change its value, so it is running


key: chroma:document
string_value:
seat did not change its value, so it is running with the class, see what has actually happened here, now I will tell you what has actually happened, please understand this much, we need to know this much There is no need to go there, still we come there that brother this is the class variable, I have written class in front of it and the value in it is okay and here an object is created sew and here an object is created c2 sew and seat okay so brother how many wheels will be there inside sew


key: chroma:document
string_value:
brother how many wheels will be there inside sew also f how many wheels will be there inside c2 also four okay now here again and again sew did a story sew said car sorry sew dot wheel and what has it done it did it okay it did so many things okay now understand what is outside when it did this story, what actually happened is that all these people were referring to it earlier were referring to it okay they were referring to it earlier but when it did this work I would have removed it from here


key: chroma:document
string_value:
did this work I would have removed it from here it was not here it was the same what was it doing it was referring this class did sew dot wheel so basically this class created its own instance variable named wheel so now now for this There are two wheels coming near me, one is a class wheel and the other is an instance wheel, so now tell me brother, which one will be accessed, when the wheel will access it, then the instance wheel will be accessedSo actually there we are seeing a difference


key: chroma:document
string_value:
actually there we are seeing a difference that if the class has done 10 then why it is not 10 for everyone, so brother, that is why it has not happened, it has happened here for this also, but now whenever I will access it, it will access this one and give it to me because it is getting overridden because the real story is this because look here if I have a class, understand this is a class car, this class I will not go anywhere, I will take off my shoes here, I will do the same thing, the


key: chroma:document
string_value:
off my shoes here, I will do the same thing, the management will be happy with you, no, if everyone gets disturbed, then we will sit there, look, look, nothing can happen right now, half an hour namaz will also happen online and the second class starts [Music] ok look now here here there is this wheel, what am I doing here, there is a variable which is not existing here, understand my point, there is mileage here and there is company, can I do this here, sorry, I have brought this car down, I


key: chroma:document
string_value:
this here, sorry, I have brought this car down, I can take it up from here, now I will say here What am I saying to c1, I say to the sieve, brother owner, what is the sieve owner, I have written the name in the owner, Atif Bajwa, okay, now tell me whether the variable of the owner is there first or not, it is not there but it will be created, it will be created, so when this action is being done, the variable of the wheel is not at the instance level, so what is happening at the variable


key: chroma:document
string_value:
level, so what is happening at the variable instance level of the wheel, it is being created, it is being duplicated, it is equal to the class variable, I understand this, so when we access it, the problem comes again and again, I try running it, I got it, I got the web cut, no problem came, now I say to the sieve, brother dot owner, so what will come to us, this variable was not assisting, what happened, it got created, so in the same way, the work which is written here in actual, it did not


key: chroma:document
string_value:
work which is written here in actual, it did not touch the class variable in actual, so this thing which is written here, updating value for one object, this thing it is written wrong, it did not update the value of that wheel, it created a new wheel variable for itself, do you understand? Yes, that is why when we are doing this here, it is bringing its own one, it is not bringing the class one.It is coming okay but to understand this, what do we say that if it is not getting updated then keep


key: chroma:document
string_value:
say that if it is not getting updated then keep in mind that it cannot be created new variable, call it by class name, call it by class name, call it by the name of the class wherever you want to call it, brother, if you want to access the same thing then this is what I am saying, call it by putting the name of the class and call it by the card, you can call it anywhere, okay, ha ha, instances are like this, like database objects will be created, so once the class of the database is created,


key: chroma:document
string_value:
so once the class of the database is created, now as many people will register inside it, their records will be created from the object itself, now in the database there would be records of thousands of people, there would be records of lakhs of people, then lakhs of instances are created for them, well this is all about variables, whose variable, next we are talking about whose methods, in the methods variable we saw what are static variables and class variables, they are the same, you ask the


key: chroma:document
string_value:
class variables, they are the same, you ask the same thing, so what why discuss, but what are static method and class method It is different, some methods will be static methods, some methods will be instance methods, some methods will be class methods, okay now which are instance methods, all the methods that we have created in the class till now, what did I need to call them, we used to call them through the object, it was necessary to write self there so that when the object calls it, the


key: chroma:document
string_value:
self there so that when the object calls it, the name of the object comes in self, so what are all those methods, basically they are instance methods, that is, like this, what did you create average, what did you create this average, what all is written inside it, which comes in self, object, so this is instance method, what kind of information is this, it is instance method, it is instance method, okay because we can call them only with the help of instance, let's see y, it has come, but okay


key: chroma:document
string_value:
of instance, let's see y, it has come, but okay now I have to call this average, what should I do sir, object, if there is no object, then can it be called brother, it comes inside the class, so it is inside the class, so I can write like this, student understand, I will see a dot average, but the problem What is it, it requires an object here like a value has to be sent in a parameter, if it is asking to tell the name then the name has to be sent, I am calling it from this class, but the


key: chroma:document
string_value:
be sent, I am calling it from this class, but the objectThere is no subject, there is no object, if there was an object, it would not be there just now, okay, student average, this is missing, I am saying put one from your side, what will happen with that, the output will come, okay, so this is an instance method, so to call it, an instance is needed, write this, okay, an instance is needed to be called, this is also an instance method and this also, let's go ahead and create two objects, what


key: chroma:document
string_value:
also, let's go ahead and create two objects, what is the object asking for, right, the mark in subject one, subject two, subject is asking for three marks, all three marks have been alerted, we have to find the average, so after collecting all three, divide by three, the average is done and what is it asking for in the information, the name of the school, that we have defined above as static because it is static, it is class level, so the object can also call it and the class can also call it,


key: chroma:document
string_value:
can also call it and the class can also call it, so there is no tension, here I can call it by writing self dot school and I can also call it by writing student dot school, right, try writing student dot school, okay, we could have called it with both, we did this and now These three marks are given to student one and student 2 and what did you say here ah ah that average ah who is the object object is calling the instance method will come definitely it will come definitely who is the object A2


key: chroma:document
string_value:
it will come definitely who is the object A2 object object is calling the instance method will come definitely it will come result from both ah ah will also come average of ah and average of ah will also come look ahead instance method called using class name information what kind of method is it information what kind of method is it instance method isn't it with whose help I am calling with the help of class but it needs an object so I am sending the object what am I doing sending it will


key: chroma:document
string_value:
the object what am I doing sending it will definitely go to self ah ah will go to self at if I need an object only so instance method called using class name but instant I pass an argument but still we have to give the instance because it is an instance method yes okay so we will run again both method information's ok instance method using class name what did I write just now any object I am not giving any information, I am calling any object by class name, it will not work, it will explode,


key: chroma:document
string_value:
by class name, it will not work, it will explode, see I tried itThe average of the first came, the average of the second came and what did I say here, returning school from the instance as well as from the class is coming both times, the class is also calling school and the instance can also call school but as soon as the class tried to call the information, done, okay, let's move ahead, now there are more types, we have talked about instance method only, now what is static method, what is


key: chroma:document
string_value:
method only, now what is static method, what is class method, static method, static variable and class variable both were the same but the method is that, drink water brother, the last one, okay, class method can be called using class name as well as okay to make a method, class method and use decorator class method, now how can I make a method a class method, how can I make a method a class method, for that we use a decorator, what decorator you have not read yet, it is a little advanced level


key: chroma:document
string_value:
have not read yet, it is a little advanced level concept but now you understand that a method is made for it I have put a chit, it is a class method, okay, so see what I have done here, the same code, everything is the same, what kind of method is average and what kind of method did I make the information, how did I make it, using a decorator, what is its name, class method, this is a decorator, it is a kind of now understand that this is a kind of chit which I have put on it that this is not


key: chroma:document
string_value:
of chit which I have put on it that this is not for moving the mouse, okay, I have put a chit, so what did it become by applying the chit, it became a class method, now what will we do with the class method, the things of the class, like there was a class variable, who was calling it, the class was also calling it and the object was also calling it, so the class method can be called by the class name as well as the class type method can be called by the class and the object can also call it, so


key: chroma:document
string_value:
by the class and the object can also call it, so the instance method is average, that is already going on, we have average instance method, now come to this, the class method can be called using class as well as instance, see what kind of method is the information, for us the class method information tag is applied I felt it felt like bha and what did I write on y, did I write self, no, I wrote something on my own, whatever comes to this will go into this, if I had written self then what did we


key: chroma:document
string_value:
into this, if I had written self then what did we do from here, the class method called using instance add information will work billAll will work because object can also call things of class, okay and at that information, okay, class method when called class name was not working earlier, it was not calling the method in class, now it will do it, now it will do it, if you are not able to remember, then I will show it here, see, A2 information was not working here because here information was


key: chroma:document
string_value:
was not working here because here information was instance method and now what did I make it by applying cheat, class method, now class can call it, no it does not need object, it was not run or cell was not run, so see, everything worked, okay, there are many things, it will not remain in the mind immediately, but when you read it again and again, little by little, write and then write whose property is what, then it will be confirmed, now it comes to static method, static method or method


key: chroma:document
string_value:
comes to static method, static method or method does not require any instance and class, it does not need any object or any class, so if I want to call it, okay, to call it, someone or the other will call it or the class will call it and what else will call, there is a method lying there, someone or the other will call it So it will call, right brother, it is like this, it does not need anyone, any animal can come and sit, any human can come and sit, it does not need it, but the one who will


key: chroma:document
string_value:
sit, it does not need it, but the one who will run it further, it will be some animal, human, friend, I mean, it will be a human, friend, okay, that's why we made it a class method and we made it a static method, okay, one class method and one now see what did we do, made an object of A4, now tell me, is it an animal, human, name it with a stick, hello, see A for hello, what kind of method is this? It is a static method, it does not need it, it does not even check who is calling me, is the


key: chroma:document
string_value:
it does not even check who is calling me, is the object calling me or the class is calling me, anyone can call it, we have given it a name, okay, I am a static method, this is a parameter, now who called this hello, the class called it, come on brother, we gave it a name, okay, ba, okay, so see, now the static method does not care, the class is calling, it is running in both the cases, okay, and how were the class methods, the class was calling them and the object can also call them, so both


key: chroma:document
string_value:
them and the object can also call them, so both are the same, yes, but if we see from another angle, they are also different, okay. After that, yes no no no, I had written it inside it friend and I am not showing it myselfAA means it is written to return, I am making a static method, look, now the question is coming on AA, which class is it, what time is it, now wait for some time, see where should I make you sit, okay, if you want to sit then sit down, it is not a problem for P, I am feeling


key: chroma:document
string_value:
sit down, it is not a problem for P, I am feeling hot, I don't know whether I am sitting inside or outside, sit down, wake up brother or what happened, study programming for some time, okay, so class method and static method, what kind of method is static method that to call it, it does not have any requirement of its own as to who is calling me, okay, is the class calling or the object calling, there is no limit, I don't care, but class method is okay, what kind of method is it, it is a class


key: chroma:document
string_value:
is okay, what kind of method is it, it is a class level method, which can be called with the help of the class or a class is needed to call it, now because it is coming under the class, hence it will be available to the object also, so therefore, the object can also call it, it can be the same property wise, but it is not the same actually, right? It is not receiving static method, see here, did any reference class call it, did the class come here, then the parameter came, the object will call


key: chroma:document
string_value:
then the parameter came, the object will call it, so is the object coming, the object is being received, it is not happening, it is happening directly, okay and it will work, it is possible that you are not able to understand this thing right now, but just understand that this is happening, time will pass, you will get some exposure, if you work, then you will start understanding the implementation, actually there are all these topics, we have a subject, design pattern, okay, software design


key: chroma:document
string_value:
a subject, design pattern, okay, software design pattern, that's where you start understanding things or why all this story is going on, okay, so now you just let it go, where [music], this is a normal method, to call hello, I will have to tell the name, so it will say the name, hello, now I am saying that what we used to have here earlier, cell, because this is neither a class method nor an object method, so neither it needs the name of the class nor the name of the object, but someone should


key: chroma:document
string_value:
nor the name of the object, but someone should go and press the button, the friend of AC or the student There will be a class, there will be an object, now don't say anything. Okay, so we are doing the same thing with objected, but there is still something else inside it.And class within a class, a class is an object attribute but we have read that we create a separate class for battery so that if someone else needs the battery, he can create an object of it and use it in his class. Similarly,


key: chroma:document
string_value:
object of it and use it in his class. Similarly, we have an inner class, one protected one is left, friend, private private private is left. Let's come to private, private is this, I have taken a class, read the class for the class method, brother, absolutely correct, see what are the limitations of protected, protected is protected, okay, the variable of the class can be accessed in the class and the drive class from the class, we read its concept in Python, not protected, we have to read


key: chroma:document
string_value:
concept in Python, not protected, we have to read private, friend, private private limited private same in Python there is no existence of private instance variable cannot be accessed inside an object, okay now the private variables, okay, those private variables are used only within the class because they are private, so they do not go to the child also, okay, we will start with our simple definition. I want to make it private now see what do I do here now here how do we make private private


key: chroma:document
string_value:
I do here now here how do we make private private is made with double underscore sir we made one public we made one protected and one we made private roll number roll number what is the issue name name roll number roll number laptop laptop what is it saying method self dot name self dot ok if you did not put underscore then there is under score and double under score [music] okay now we are coming win the class now this student can be accessed by some other student okay which class student


key: chroma:document
string_value:
by some other student okay which class student python student who is accessing this student student class is okay I passed it don't pass the class is created there is nothing in it but I did the rest now I create an object here python student and I created an object I will have to give three things name roll number and name roll number and laptop so let's give from here okay object is created now here we see what we are getting name and show why name is what kind of variable PublicWhat kind of


key: chroma:document
string_value:
name is what kind of variable PublicWhat kind of method is this? Show is a public instance method. It is available but the roll number is not visible. It was protected. Okay, now it was protected. So protected does not come out of the class. It stopped and the private one. Now let's check it once. For your satisfaction, what do I do here? I create a class. I create a function. Day, ABC, test, test, self. Now what am I accessing here? What am I accessing? I am accessing all three. Self dot name


key: chroma:document
string_value:
I am accessing all three. Self dot name and self dot under score, roll number and what is self dot laptop under laptop. Okay, to make it private, I write this again. What is made from one public, protected and what is made from two. Now I understand the private. Now I have run this. It has been tested. Okay, Paw object. Now I am saying Paw what is coming to you. Name show and test. Okay, now what do I do? What do I do within a minute? I said self. After self, I am checking this. So which


key: chroma:document
string_value:
self. After self, I am checking this. So which variable is coming to me? Name was coming. Self. Dot name was public, right? Public write came, said test, why is public also not coming brother? Okay, I will show it here, see, pv dot name show test, neither public is visible nor protected is visible, both public, private and protected are not visible, but I have started doing it here, underscore what was the roll number, and I have started doing it here, self dot laptop, now I run this test, what


key: chroma:document
string_value:
here, self dot laptop, now I run this test, what is it saying, what is it not getting, he did not parse the roll number, he did not parse the name, but as soon as I sent him to get the laptop, he said this is definitely private brother, this is not there, come out, yes, what should I show, should I show p1 d, then show is our method for this, okay, so from here, I have laptop in the show, yes, so let's call the show, it is coming in the show, okay, our class is available, it will not come, pv


key: chroma:document
string_value:
our class is available, it will not come, pv dot show will not come, pv d show will come, so it is coming, okay, kiss, one minute self dot kiss is not coming, the name was coming, right, it is coming here, yes Let me check, it is coming, it is not coming, it may be that the name is coming, it is coming, a name is coming, just where, not here, I made some arrangements here or I have put the direct variableHe did not call me, I told him to do a show, he went to his class, you can call him for a


key: chroma:document
string_value:
he went to his class, you can call him for a show, did you understand, practice it a little well, online ones too, there is no rain, it is not raining, just fooling people, just get out, friend, it is happening, okay brother.


key: chroma:document
string_value:
Okay, well we have read till function, we have read it in detail and it will be uploaded today, we are going to start, I am making a new book, I will close this and mute the number bell, come on, let's start object oriented programming python, okay and everyone has to read it very carefully, what is object oriented programming, first of all let's talk about it, how many people have heard about it, what is object oriented programming, if anyone knows about object oriented programming, please add


key: chroma:document
string_value:
about object oriented programming, please add something from your side, yes Fadli I am saying, so please whatever you know, you can say it by pressing the space bar, sir, we know this much in it that like we were creating a function and the function belonged to a class, so now we can also learn to create those classes in it, good very good, you gave absolutely the right answer, the functions we were creating like the function of the list class, the function of the string class, the function of


key: chroma:document
string_value:
the function of the string class, the function of the dictionary, so I had said that it belongs to a class which is built in classes, now we will create our own classes and from what is there Whatever is there, we will do that and now what is object oriented programming? Object oriented programming we have different paradigms. All right, paradigm of programming means methods of programming. We have many paradigms of programming. There are many, many, not too many, but here and now we have one


key: chroma:document
string_value:
many, not too many, but here and now we have one paradigm which is of procedural programming. Procedural programming is okay. We have one paradigm which is functional programming. We have one paradigm which is object oriented programming. Now new paradigms are also coming. Model oriented is also coming. And that is not our topic right now. We have these three paradigms. All right, paradigm of programming. Out of these, we have read two paradigms. If you remember, we have read procedural


key: chroma:document
string_value:
If you remember, we have read procedural programming. We have also read programming with line by line code. We have also learned to write code by creating functions. All right, even in functional programming, we have seen this thing. Now, what we are going to work on is object oriented.oriented programming, procedural programming, object oriented programming, now these are seen with us by different names, but mainly what is it, procedure object oriented and functional programming, these three


key: chroma:document
string_value:
oriented and functional programming, these three are called and their examples and series, right now we are not going into details, we have to talk about object oriented programming, brother, what is object oriented programming and what are you shifting to class left, we will have to do a little bit of thinking, okay, so we have to talk about object oriented programming, what is this object oriented programming paradigm, what are its advantages, so when we talk about object oriented programming


key: chroma:document
string_value:
so when we talk about object oriented programming then this object oriented means all the things in it will be related to the object, that is, there is more focus and object oriented means that it is very goal oriented, it is always in his mind, it is very goal oriented, so what do we talk about here, all the things are done with reference to the object, brother, so first we have to discuss that our The object that is near, what is this? Okay, in object read programming we study two things, the


key: chroma:document
string_value:
object read programming we study two things, the concepts of two things, what is object in object or short form, it is called object oriented prom object, what would be the object? Okay, so from now on, I am writing this thing here, from now everything in Python, Sir, I am not able to understand anything, I made them sit in the lab and the graphic people are talking about this, I don't know who made them sit in the lab, if there was no management then why did they make them sit in the lab, the


key: chroma:document
string_value:
then why did they make them sit in the lab, the auditorium was not empty, I will call them tomorrow, your voice is coming with a lot of interruption, yes sir, come, I will call them, friend, sit there, okay [Music] I am calling you, your voice is coming with a lot of interruption, right now I am not able to say anything, cut, Assalam Walekum Walekum Salam, where are you brother, they took my class out of the room and made them sit in the lab, yes the problem is that another class is also


key: chroma:document
string_value:
yes the problem is that another class is also sitting there, you boys, I am not able to understand what they are saying, it is getting noisy, it got over at 8 o'clock Just send him out quickly, friend. Well, he is saying that the class will end at 8 o'clock, so it is over for me.These people must be coming out, okay, so from now every thing that we have in Python is an object. Any thing is there now we will read every thing as an object and like I have any item, any thing that I have, okay,


key: chroma:document
string_value:
I have any item, any thing that I have, okay, from here for Apple, what do I have, a cellphone. Okay, so what do I have, cellphone is also an object. Cellphone, I have just taken an example. We will talk about it slowly. There is no hurry on this. It should be understood. I have this, I said I have a cellphone. And what do I do, I copied the image of this and took this cellphone. Okay, cellphone is also an object. I have a chair. Okay, chair is also an object. Okay, I have a laptop. This is


key: chroma:document
string_value:
is also an object. Okay, I have a laptop. This is also an object. I am putting the image deliberately. Brother, I have a laptop. Whatever we will discuss, whatever we will think about, we will think of it as an object. Okay, now what do I have, this is an object. Right now I have all these things. I will think about a human, okay, so what is a human? An object is a human. We also have that, okay, sir, what is the definition of an object? The definition of an object is also an object. Aha, I


key: chroma:document
string_value:
definition of an object is also an object. Aha, I also have this, you myself are an object. There is a chair, table, computer screen, projector in front of you. Everything is an object. Okay, everything is an object. Now by definition, what would be an object? Son, this mass sit python and this useless discussion that is going on in the chat, I will take you out of the class and also remove you from the group. Okay, instead of writing a chat, it is better to pause here. Okay, now when there is


key: chroma:document
string_value:
is better to pause here. Okay, now when there is an object, then what is behind it is made of an object. Now tell me, is this chair the only such chair in the world? No, is there only one laptop made of this in the world? No, have thousands of copies been made like this? Is there only one human being in the world? No, is there only one such mobile in the world? No, there are many. Okay, okay, one minute, okay brother. okay so basically what happens is basically what happens is that weWhen we


key: chroma:document
string_value:
is basically what happens is that weWhen we have a thing, okay, when a thing is made, like I say here, first there is a class, then there is an object, but we first discuss the object, so what do we call a class? Class is a model, okay, model of an object, okay, first the class of that object is defined, first the class of that object is defined, how will that object look like, like when a building is being constructed, a flat is being built, a society is being built, its model is made, in the


key: chroma:document
string_value:
society is being built, its model is made, in the same way, the society and the model are basically called class, we also call it a map, okay, what do we call a class, it is also called a map, we also call a class, that is, a blueprint of an object, okay, map, okay, so you have different types of classes, now what do we do, when an object is made for the first time, like this cell phone, we took this example, cell phone, when we are taking it, now when it is made for the first time, its


key: chroma:document
string_value:
it, now when it is made for the first time, its specification is kept, the size of the cell phone will be this much, its weight will be this much, it will have this much RAM. Here I am going to define a class, cell phone, for example, I am going to make a new cell phone. When I make a new cell phone, when I prepare its model, I will tell about its insides or what will be inside it. There will be its size, its weight, that is, we call it the size, that is, what is its width, what is its length,


key: chroma:document
string_value:
that is, what is its width, what is its length, dimension of width, that is, the dimension of the mobile, how much RAM is installed in it, how much storage memory is there, what is its processor, how many megapixels is the camera in it, and what are all the features, so what do I finally do, on this basis, we make a mobile phone, for Apple, for Apple, this mobile phone is this one, we have prepared this mobile phone, after preparing this mobile phone, you order a mobile phone, I like it, what


key: chroma:document
string_value:
phone, you order a mobile phone, I like it, what does the company do, it makes another copy of it, then what does the company do?So the company makes another copy and then what does it do? It makes another copy. Now what happens is that lakhs of such copies are made in the market and what happens is that they are sold. So when this mobile is made for the first time, it is launched. What do we call this mobile? It is a class. It was a model mobile phone. And later its copies are being made. Its


key: chroma:document
string_value:
phone. And later its copies are being made. Its objects are being made. What are being made? Objects are being made. All these that are being made are objects. Okay, the one that is made for the first time is a class and all the other ones that are made with us are like that. All of them are objects. So, if we talk about humans, we are all Muslims. What is our belief that Adam al-Salam was created by Allah as a human being. After that, all of us are following the same pattern. Brother, a person


key: chroma:document
string_value:
are following the same pattern. Brother, a person with two hands, two legs, eyes, ears and nose who moves around and has these parts in his body. All of them were human beings earlier and all the other ones are their objects. We all are human objects. We all are human objects. Okay, did you understand this? Let's look at it a little. What is an object and what is the class that we have? What is the class that is created for the first time? And later, things similar to it are created by


key: chroma:document
string_value:
And later, things similar to it are created by following that. All of them are objects. So, this is the concept that we use here. To create an object, what do we do first? We create a class. Okay, an object is an instance of a class or a copy of a class. It is a copy of that class. You can say that it is a copy of a class. Okay, an object is a copy of a class. Okay, here, now I'll look a little bit like that. What are the objects and classes that we have, so that we can understand them from a


key: chroma:document
string_value:
we have, so that we can understand them from a diagram. Okay, let's see this. We can see that we have a Car class. A different car is being created from Car. Okay, this will be called its object. Similarly, there is a Person class. A person has some features. Different persons are created from that. What are they?So what we have will be called object, in this way an object is created, a car is also a car, a truck is also a car, a bicycle is also there, all of them are called objects. So if a


key: chroma:document
string_value:
there, all of them are called objects. So if a student's name, roll number is a class and all the other students, everything else, then we have objects. If you want to ask any question in this, then ask me. A car class is created and after that I can also put this in down mode. All of them will be called objects. So what am I doing, how will we define the class, defining a class and creating objects of class, we started working on how will we define the class and how will those objects be


key: chroma:document
string_value:
we define the class and how will those objects be created. Well, the people who are talking and messaging in the chat, first of all I would like to tell them that if their name and roll number or ID is not written, then their voice or their conversation will not be entertained. So, definitely mention your name and your number there so that it can be known who is it. What is he saying, otherwise you will keep on saying there is no use in chatting, so we have to conduct the class definitely and


key: chroma:document
string_value:
so we have to conduct the class definitely and we will repeat it later, okay, even a class is not called an object, it will not be called a class, when we create a variable, like I have not talked about this before, like I said a it 100, now what would I call it before, I made it a i, so it is an integer, but now what do we have, when we used to check its type, we used to take it out after checking the type, then what did we see, it is a class, it belongs to a class, it means that now this is


key: chroma:document
string_value:
it belongs to a class, it means that now this is a, now how can I read it, an object of integer class, a which is an object of integer class, now I can read it, I will create a list, I have created a list, okay, how can I read it, also an object of list class, okay, now whatever thing we will define, all of it will be ours What object will you have? In this way, all of these will be called objects. Okay, the list also becomes an object, the number also becomes an object, the ball also becomes


key: chroma:document
string_value:
also becomes an object, the ball also becomes an object.Now the object has become everything. Definitely the class will not be an object. The class will remain a class. Okay, that's fine. [Music] No, the dictionary itself will be an object. The dictionary itself will be an object. Look, we create a dictionary like this. Here, I wrote name. And here, I wrote it. Now, this dictionary is itself an object. Okay, now if you talk about the name written inside the dictionary, it is a string. If it is


key: chroma:document
string_value:
inside the dictionary, it is a string. If it is s, then it is also an object. And if the value written here is s, then also the value of the dictionary can also be an object. They will also be objects. If it belongs to the data type, it will also be an object. Okay, if it belongs to the dictionary, the dictionary is itself an object. So check it. Yes, we have just created a dictionary. I will print it. Let me tell you the type. If I type it, then it will tell me the class. So, I can write this.


key: chroma:document
string_value:
it will tell me the class. So, I can write this. Dick is an object of dictionary. And an object of dictionary. Okay, let us move forward with what we have. Now, how do we define a class and a class? What happens in it? To define a class, we use this word. In front of the class, I will define a class, Human, here. Try to use the name of the class with capital letters. Okay, class. Now, what will be inside this class? Inside this class, it will have properties. Okay, there will be properties and


key: chroma:document
string_value:
properties. Okay, there will be properties and inside the class, there will be actions. Or we can call it behavior. For example, if I want to define a Human class, what will be the properties of the Human? The gender of the Human will be the first thing that I have. [Music] After gender, what will be its blood group? What is its age? Okay, what is its height? What is its weight? Okay, these are all the properties of the Human. What is its name? Okay, and similarly, what is its contact number?


key: chroma:document
string_value:
Okay, and similarly, what is its contact number? Whatever things belong to the Human, we call them its properties. Properties and what can be the behavior of this Human? What can a Human do? A Human can sleep. A Human can make. We will write all the general properties that are there.What will be common for every human, it should not be written like this, every human can write Python code, but if we do not create a general, then can every human in the world write Python code? No, so we will not


key: chroma:document
string_value:
the world write Python code? No, so we will not talk about specific things in the general class, general can sleep, can eat, can walk, can cry, okay. Now there are two things that happen in a class, one of the properties and the behavior of the class you are describing, its properties and its behavior. Now what do I do, now I again define it correctly, brother, what all things can happen inside it, now again I will write it properly human class, class, and I have used the word properties, what


key: chroma:document
string_value:
class, and I have used the word properties, what will we call it here in programming language, attributes, what did we call them earlier, variables, what did we call them in our functional programming, we used to call them variables, gender, male, blood group, these, I have created these, what variable have I created, now what will we call them Atrbik now I write here brother what is its name first of all, okay I have written the name here brother the name of this union is this and what


key: chroma:document
string_value:
brother the name of this union is this and what attributes did we create what is its height 100 cms and what is its weight and what is its contact number, this is the attribute of our human class now what did we create inside a class, I am not able to understand sir, is a class both object and function or is it just an object, your question is I am not able to understand what I want to say now inside the class I am atrbik I am putting behaviors, behaviors behaviors we create functions in normal


key: chroma:document
string_value:
behaviors behaviors we create functions in normal programming what do we call them here, what do we call a function which is defined inside a class, it is called a method, wait a minute it is calling Laam waaleikum Salam waaleikum ok ok ok I am taking the class right now I will talk later in the tale there is no issue ok so the function which we create in the class now what do we do yes yes I am getting confused in this It is coming up in this that you said that everything has become two


key: chroma:document
string_value:
this that you said that everything has become two things, there will be an object and there will also be a class, so this thing is wrong, everythingObject is something like this son, when I am saying that everything is an object, then I am talking about entities, I am talking about entities, right? Now you say, I say that everything is an object, that even brackets are objects, brother. Oh brother, is a colon also not an object? I am talking about entity, I am talking about entity AT. I have


key: chroma:document
string_value:
entity, I am talking about entity AT. I have read about variables, what is any subjective thing, any subjective thing, right? I have read the type, I have read all these, all these and the issue is that to say that everything is an object, so now it is not so important to go into everything and check whether it is an object or not, focus on the main concept, how is the class being defined, what is the structure, okay, behind an entity, there is a complete system defined and its defined system


key: chroma:document
string_value:
a complete system defined and its defined system is its class, so every entity that has come before us, which we had not created ourselves, and the entity is there, basically there is a class behind it, I am talking about that. I am everything because everything does not mean that it should be taken as equal to sign is also an object, it will be a thing, every at every subject has read that object, now I am creating the behavior of a human here, human can walk, okay and I am writing this


key: chroma:document
string_value:
here, human can walk, okay and I am writing this function, but brother human is walking, right, let me just create one more, I will sleep, so I said, let's believe human sleep, okay, this is my basic C class that has been created, I have created a basic C class, okay, what have we done in this basic class, we have created a name, its attributes are and this class, now I had said, what do we do with the class, we keep creating different objects from the class, like that, as many as we can make,


key: chroma:document
string_value:
the class, like that, as many as we can make, okay, I have given an example of fun, as many fun as you want, you can create any class, let's use it with the help of C object, okay, here I am writing creating object of class, to create this C object, I will have to give some variable name to the object, like I am saying, there is a class of human, so human one I am creating the first human. First I am cutting the object. After equal to, I will write the name of the human or human class. I will


key: chroma:document
string_value:
the name of the human or human class. I will write its name at and I will make it cute. This is it.My pass has been created, now I will go here and check, what type of hum one will it show, what class will it show, does it belong to human class or I have written main, now please insert it, that button is not written inside the classes, so when we create it, main is written inside it, okay, okay, now this hum one is belonging to human class, when I showed this earlier in the dictionary, it only


key: chroma:document
string_value:
I showed this earlier in the dictionary, it only shows it, by doing this it does not mention main, okay, so we have created a human class object, we have created an object of the human class, so it should be exactly like this, right, let's check now, brother, what is the name of the human class, now I will write here, what is the name of the hum one object, Atif, what is the a of the hum one object 10 hum one dot see, the way we used to open, we used to open the methods of the list, we used to


key: chroma:document
string_value:
used to open the methods of the list, we used to open the methods of the dictionary, in the same way, the methods and properties of the hum class are visible, like contact height, sleep work, now I call the function of this work, like I say upper lower of the string. Call the function upper case lower case similarly I am saying we are an object of this class call the function so what is written here brother a on the closed one add one thing here which I will explain later we will write one


key: chroma:document
string_value:
here which I will explain later we will write one thing here self just why it is written cell or I will explain later or what is common working we call the method of one sleep so now you are seeing the same scenario is being created as when I used to call the function of any list class or pop rim player they have also kept all these functions there by defining the class now we have also defined our class and all the things inside our class it is not the essence means the method which is


key: chroma:document
string_value:
it is not the essence means the method which is required for it and clicked I am going to do one more thing ay I created an object I will create another object from it hum to human hum to hum to what is your name it will be an exact copy of that okay hum to what is your name will tell me my name will also come exactly what will it create it will keep creating an exact copy of as many objects you want hum to your age How much is it, it is 10 years, it was also 10 years old, okay I once again


key: chroma:document
string_value:
it was also 10 years old, okay I once again have another simple classI am going to create a class. I said my class is a phone class or a laptop class sir, yes sir I am asking this means can we create a class? Yes we can create it. Okay sir I just wanted to ask this. Thank you I created a class laptop. Okay now which company's laptop is this? I said I have this laptop. Okay, what is its model? Got an idea? Okay, how much RAM is installed in it? Yeah, RAM is inside it. How much storage is there?


key: chroma:document
string_value:
RAM is inside it. How much storage is there? It is about 1.5 TB. I have storage now. Okay, and what is its color? The color I have is blue. Okay brother, what else is there? Okay, brother, what else is there? Okay, brother, what else is there? Okay, company, model, RAM, color processor? This processor is with me. What else is there? This processor is with my laptop? Okay, which generation of laptop is it? Okay, this property is now I am creating a method. What all can my laptop do with my


key: chroma:document
string_value:
a method. What all can my laptop do with my laptop? Okay, which Windows is it? Sir, sir, define the class once again. Okay, see, what is the class? There is a thing, tell me, when any new thing is launched in the market, its model is made. This model is made like, for example, suppose tomorrow a new car is being launched, we go to its launching ceremony, there it is decorated very forcefully, the car is kept hidden and when all the guests arrive, then what is done to that car, the cloth is


key: chroma:document
string_value:
then what is done to that car, the cloth is removed from it, okay, like I will show you here, in this way when the car is being launched, it is brought in this way, the car is also parked, the cloth is removed from it and these nice ladies are also standing, no, not here, okay, now this new car which is being launched, this new car has some specifications, brother, this is there in it, this is there in it, that is there, okay, then if you like this car, then you book it, friend, I want to buy


key: chroma:document
string_value:
this car, then you book it, friend, I want to buy it, then the company will make a similar car for you, okay. If I had made a similar car for you then what would have happened, this car was like this, brother, it is a class car for us, it is our model car, brother, see this, whoeverYou will buy a car and you will get an AC car, the colour will change but it will not happen that if you say this car is six seater then put a sign that there are seven people in my family, it will not happen like


key: chroma:document
string_value:
people in my family, it will not happen like this, you will have such a model car as is here, okay so all the objects now whatever you order, the company will make units of it, 10, 20, 50, 100 will be like this, so all those units will be called its objects and this car, this model car, that is, it will be called a class, and all those will be called objects, people who do not see this, no, no, they will buy another car like this or its model, did you understand, so in the same way we are


key: chroma:document
string_value:
did you understand, so in the same way we are working here that we are making a laptop, okay I am also getting azaan, so let's prepare silence for two minutes, let's start again, now what do we have, we have defined the aboot that these things will be inside our laptop, what all will we be able to do with our laptop, what all will our laptop be able to do, okay, our laptop will be able to turn on, okay, laptop is so okay now I have been in a very simple function so that the concept is developed


key: chroma:document
string_value:
simple function so that the concept is developed and what can I do, if left is on then it can also be turned off sir, why did I put self in this parameter, we will do it last, okay, okay, you just understand it now, just put it, okay, the day is on and off and what can I do, I can run the internet in my laptop, we call it internet sucking, yes, absolutely Nasir, you said it right, so friend, the internet is fine and what can happen now and we can run any software on it, we can write code, I


key: chroma:document
string_value:
can run any software on it, we can write code, I said friend, we are doing coding, okay, write it down, okay, I just put it a little, okay, now I have a laptop class, okay, understand, a laptop class is created, inside it there is this attribute or attribute, I now create an object, run it, I also put self in the coding, whenever you make any change in the class, activate the class so that there is no change, now I am creating an object, okay, now I am saying this I am like brother this is


key: chroma:document
string_value:
now I am saying this I am like brother this is Jaffa's laptop okay how will I make it object class name is laptop now who will get this whole thing whole thing complete dittoI will not need to define a new class for the whole thing. Similarly, I am saying that this is a laptop of Adil. Okay, now a complete laptop has been created. What is the benefit of this? If I do not write this class, if I do not write this class and I had to make a laptop for Huzaifa, then I would have to write everything


key: chroma:document
string_value:
Huzaifa, then I would have to write everything for Huzaifa's laptop and then I would have to write everything again for Adil's laptop. Similarly, I would have to write everything again for my laptop. Now this did not happen. Now I have a blueprint, a model. By looking at it, I am quickly making a copy of it and you will see that brother, you must have got everything of this laptop. What is its Windows, which one is Windows 11? Okay, in this, let me talk about Adil's laptop. What is the


key: chroma:document
string_value:
let me talk about Adil's laptop. What is the processor installed inside it? 47. Okay, in this way, what is happening with us is that the class is being created and the object is being created. But there is a problem here. The problem is that here every person's laptop is being created as an exact copy. The same human is being created. So, will all the humans in the world have this many names or will it be 10? Or will all the humans that I create have the same properties? When this doesn't


key: chroma:document
string_value:
have the same properties? When this doesn't happen in real life, we are humans, height and build, weight are different, blood group is different, name is different, hair color is different and there are numerous features that are different for one human from the other human. But what is happening? How did you do this in the laptop? I ran it and changed it in the laptop. Now what are we going to do? Now look here in the laptop, I am going to change the hard coded treebank of all the humans. But


key: chroma:document
string_value:
the hard coded treebank of all the humans. But we don't want to do this. So we use one thing here, we use a concept which we call I-Zer. What do I call I-Zer? In other languages, it is also called constructor. Someone has read constructor or constructor. Okay, it is an object that inverts the properties and behavior of the object, that is, it means it gives values. Okay, rather it is easy to know that it provides values ​​to the object. It provides values ​​to the object. right now the value of


key: chroma:document
string_value:
values ​​to the object. right now the value of the object is hard coded in the necklaceI put the coded value in comment and I come here, now how can the treatment be done, sir should go for namaz, I am ending it, I will do it after two minutes, let's keep it till here, okay, okay, just keep it till here, we are ending it, sir please upload this before giving the lecture and also the last session and sir please tell me about the test as well, the group of the test, okay brother, please share it,


key: chroma:document
string_value:
I will see what all is left. This is a big and small recorder. I am fine. We have done the shop grading. Okay. Now look at this one. Class number 12 will be here. We are going very slow just so that everyone understands. But even after that if you people don't practice then there is no use. Okay. This is what we are saying. Task number nine. Ask the user to enter age, gender, marital status, that is, he will tell his age. Whether he is a man or a woman, married or unmarried. And then using the


key: chroma:document
string_value:
a woman, married or unmarried. And then using the following rules to print the place of service. Now some rules are defined. On the basis of those rules, we will get him posted. We will get his job posted. Okay. Do you understand? We will get his job posted. Now what are the rules? Look at the rules. If the employee is female. If the employee is female, then she will work only in urban areas. Okay, she will work in urban areas. If the employee is male, but his age is between 20 to 40, then he


key: chroma:document
string_value:
is male, but his age is between 20 to 40, then he can work anywhere. can do it, okay if the age of apple male is between 40 to 60 then he will also work in urban area, apart from that if any other person comes then it will give an error, okay if marital status is not used in this then I will delete it here, okay, right so we know how to take input, first we are taking input, right enter your j, type cast it, right then enter gender gender, what will happen in gender, input enter your gender


key: chroma:document
string_value:
will happen in gender, input enter your gender [music] now we will apply the condition, what is the condition, apple female, what should I write, yes good, if what has been put in it, I have input female, for female also here I will convert it into lower, any big or small cake, if the gender is female, then I am creating a variable here, posting, right now this is mt, okay or I will put it in it, if the gender is female then posting will be replaced by which area, from urban area, what should I


key: chroma:document
string_value:
by which area, from urban area, what should I write next, if else, what should I write elif elif what is the second, check gender also I have to do it and also check whatever else I have to do. Now this is a little bit complicated. Okay, now in the elif, first of all I check the gender. What will happen if the gender is matched? Okay, now this portion is nested, right? This portion is nested.Ted's question is that brother if the gender is male then only his A will now ask, if both the things


key: chroma:document
string_value:
then only his A will now ask, if both the things are true then he will be able to work anywhere when both the conditions are true then when do we do this we do it in nested that brother this also becomes true this also becomes true then this work will be done so here now I have put this in elif now when this becomes true then I will do nesting it again okay the gender should be male and then what should I do after going inside it now I will also tell you the easy way of this when I will use the


key: chroma:document
string_value:
tell you the easy way of this when I will use the logical operator if as the gender is male if he is really male if he is not male then it will not go in it if the gender is male then we are checking further if as his what should happen what should happen if it is greater than 40 or not it should be greater than 20 and what should be less than now how to write it okay now I am leaving it here we will read and operator and operator so that we can understand see we have two operators logical and


key: chroma:document
string_value:
understand see we have two operators logical and and there are others also but right now we are discussing these two logical and and logical And okay what is their result, result in m of y, what answer do they always give, the first thing they answer is now look at y, I say here brother a wrote the value of a, I wrote the value of 20 b, I have exactly two values, I say brother a is smaller than b, what is the answer of b, true true or false, I don't forget but when I have to test multiple


key: chroma:document
string_value:
I don't forget but when I have to test multiple conditions together, now I am writing here and it works like multiple if, remember if this is not correct then look at this, remember this is not correct, then this grade percentage is not matching, then check the next one, the next one is not matching, then the next one will match and in the end if none of them matches then run the else block, okay, say okay come after praying namaz quickly then let's continue what do we do with this brother that


key: chroma:document
string_value:
continue what do we do with this brother that we have input one, input two and then we have the result if input one becomes true and what is the operator in between, let's end operator what is input one, let's become true and input two also What will happen and it is placed in the middle, it should be placed here, input one and operator input then what will be the result in thisIf input one becomes false and true, then what will happen? The result will be false. If input 1 becomes true and this


key: chroma:document
string_value:
will be false. If input 1 becomes true and this becomes false, then what will be the result? If this also becomes false and this also becomes false, then what will be the result? That is, there is only one condition that it will be true only when all are true. In the same way, if we have more operators here, like rater and rater, then what do we do? If the first input becomes true and the second one becomes true, then what will be the result? If the first input becomes false, then what will be


key: chroma:document
string_value:
the first input becomes false, then what will be the result? If the second one becomes true, then what will be the result? The first input becomes false, then what will be the result? The first one will be false and the second one will also be false. So, what else does it do? And needs only one true to be true and the and operator needs one false to be false. Remember, and operator needs one true to be true and the and operator needs one false to be false. Now, look here, I have written y. Now,


key: chroma:document
string_value:
be false. Now, look here, I have written y. Now, you have understood this. Now, one thing happens on y. Which we call truth and false and false. See, every value, whatever value there is, there is a truth and a false value behind it. Like I know that brother zero repents what, false and false, if I convert it to b, what will zero say and what will it say, okay, what is zero and what is it, well if I say zero now, if there is a value, what am I saying, if any value is of that data type, if there


key: chroma:document
string_value:
if any value is of that data type, if there is any value, whether it is an array of strings, a list or a dictionary, if it is there, then is its value truth, like I wrote bool hello, what will come, what will come, now I wrote bool, what will come, I have not written anything yet, what will come, okay, I wrote bool, what will it give, this is true, I wrote bool, you are understanding the point, if there is a value in reality, then it is truth, what is that, okay, now understand one thing, now I


key: chroma:document
string_value:
is that, okay, now understand one thing, now I say here, now this thing is important, the rest also It was important, this question used to come in the exam, like this I wrote here brother t and f what are the results and f see, now I have explained to you the value behind it.If this is the bid value then the value is true so behind this the value tr is true and the value f f is true now for and we need only one true or both are there what will be the result lt will come ok if I wrote and here


key: chroma:document
string_value:
be the result lt will come ok if I wrote and here now what will be the result or to I should have made it 12 friend I am getting confused what will come now 12 ok y 12 because yes because what did I say to and y what did I say and needs a true its work is done and for and to be false it only takes a false now tell me when this and gets the first true then this expression is complete now will it need to be checked further will it not be needed it is exactly like this I give you questions in the


key: chroma:document
string_value:
is exactly like this I give you questions in the exam you bring the answers of 10 questions by writing and what is the condition that if you get even one question right then you pass now I checked your copy and your first question was right and my mind got disturbed check the rest of the questions then you pass similarly if I give 10 questions and even one answer is wrong then what You have failed and you have given the wrong answer earlier so why should I check it now right so in the same way


key: chroma:document
string_value:
should I check it now right so in the same way now look at this how I am writing it 12 and five and six and end what will be the zero now what will come zero k end it is the compulsion of checking all the questions till the time we do not find the wrong one the work will not stop and if all are correct then the last value will come right you are understanding so now we go back to our question here what do we have to check if what should be his gender age what was the question brother the age of


key: chroma:document
string_value:
age what was the question brother the age of the employee is male and his A is between 20 to 40 so now we said let's check the male first now I will come here what should be 20 and 40 should be greater than 20 and and or and and because B is greater than 100 years also 1000 years but we have to apply the break ahead so and operator and A should be less than 40 we can take it above we can put it okay if the gender is male then it will come inside okay Now tell me is A coming within the limit or


key: chroma:document
string_value:
okay Now tell me is A coming within the limit or not. Now we have made a boundary for the age that what should be the age, it should be more than B years and at the same time it should be less than 40. If I put an end then the first condition will be true. If someone puts more than 20 years, or puts 1000 years, then it will be less than 20.If it is more, he will also put 21. It will be more than 20. No, no, we have to stop it at 40. That's why we will have to put an end. We will have to put an


key: chroma:document
string_value:
will have to put an end. We will have to put an end. Okay, in the coming time, so we have one condition that is true and this one. We will see the second condition. When both are true, then what will we say? Print posting will happen. [Music] Ping Anyway. Right, now what was the need for you to do this? So I can also go up. I am writing it again. What should be gender equal to? It should be male. Gender should be male. And put all these conditions. What should be the case? The thing is the


key: chroma:document
string_value:
What should be the case? The thing is the same, right? So now I don't need to do nesting. I will remove it from here. And what did I do? It has come here. Okay, if it is female, then any judge can go to another area. But if it is male, then if it is between 20 to 40, then it can be posted anywhere. It is a young man. Right, I understood this. What was the next thing? Now, it is male, but it has 40. if the age is between 40 to 60 then where will such a person go will he go to urban area ok so


key: chroma:document
string_value:
such a person go will he go to urban area ok so what should I write brother what should be the gender brother the gender is male but what is the age greater than 40 and less than so where will such a person be posted will it be in urban area else is there any other condition left and there will be two conditions for his posting what will we get done now what will be the posting either he will be below 20 years of age or he will be more than 60 years so in such a situation what will we tell him


key: chroma:document
string_value:
so in such a situation what will we tell him brother take rest and what else yes ours are taking take rest na 20 year old mother you are feeding egg paratha for breakfast it's fine should I try now this has come enter your a I said friend which block will work first first of all I will check the gender now I will put the gender in [music] let's see later print back down came to gender a first I asked first correct the gender first print this first print your a what will happen and your gender


key: chroma:document
string_value:
print your a what will happen and your gender Judge gender you are hosting you will in this page okay it is done age you take it, first ask you see enter your gender we said female enter your age 34 which one will work this will work urban will come which spelling is wrong posting posting posting ok up female 3rd female y viLet's work in urban area, okay and we asked what is the gender, is it male, the age is 65 years, what will happen, yes, will this come in the condition, the first condition


key: chroma:document
string_value:
this come in the condition, the first condition will be true for male, but what will happen with this, no, this will also be true, it is greater than 20, right, but if this is less than 40, then it will come in this, the gender is male, and is more than 40, yes, it is true, it is less than 40, no, this is not less than 40, then what will it say, take rest, okay, this is take rest area, yes, okay, similarly, if someone's gender is and is 25, then it can work anywhere, right? Did you understand,


key: chroma:document
string_value:
it can work anywhere, right? Did you understand, use naked and end, see this, do it in your code, then move forward, then after the loop, which one, okay, even if we don't put it, we are not worried, but in the beginning, when we are analyzing the program, then we are guessing which variables do we have to create, okay, these variables were created, so that's why Atiyat they create variables sometimes we also need it, like here I say brother in else I would not have written this I would have


key: chroma:document
string_value:
else I would not have written this I would have written y print you take rest ok now this is done and I printed this system, see just understand and now I ran it we have mail okay mail and j now which block will run the A block will run will run yes it will run wa b quickly see only the S block will run it is not meeting any condition it will give y take rest but when it comes to print then if I do not create this posting here let's see minute y see now what did I do I said mail and 80 years


key: chroma:document
string_value:
y see now what did I do I said mail and 80 years now it will come till here and it will say yes a e 80 your gender is male you will work in posting now tell me the posting did not get executed this also did not happen this also did not happen so from where will I get the value of posting above so I put a comment okay so if we have any such condition where that block will not run and I have put that variable somewhere If it is utilized then which value will come in its place, so if it were a


key: chroma:document
string_value:
value will come in its place, so if it were a numeric value then we would have put zero and done something, now this will show us an error, well why is the error not coming now because I had run the posting before, so it was created in the memoryTop I am running from there if I restart the kernel then it will give an error on restart all the variables get destroyed now I ran this mail okay you tech race ran but when I came to run it on this line it was saying posting I don't know what is this


key: chroma:document
string_value:
it was saying posting I don't know what is this thing right if I keep posting on here then it will get executed okay I understood this thing okay it's done next we are moving towards loops okay they are very important understand it very well someone tell me what are loops yes brother what are loops we are using loops to get any one action done repeatedly and nobody knows anything else friend no one knows anything yes tell me what are they okay okay and someone from behind answer have you ever


key: chroma:document
string_value:
okay and someone from behind answer have you ever read it or have you forgotten or have not read it today for the first time I will also hear it if there is something then tell me friend yes come on tell me the meaning also you tell me like that friend they are also called loops okay in python also they are called loops yes here If we just talk about loops and leave Python programming, then what is a loop? It is a circle. Okay, you go to office everyday, you leave home in the morning, go to


key: chroma:document
string_value:
everyday, you leave home in the morning, go to office, leave office and come back. This circle is formed. Now you keep doing the same thing for the whole week, the whole month. I am going somewhere else as well, so if your wife doesn't know, then also what is it for your wife? A loop is formed. What is it that you are going from point A to point B and then coming back to A from B and we have deleted C and D in between. So a loop is formed. So what is the benefit of this to us? If you are going


key: chroma:document
string_value:
is the benefit of this to us? If you are going to office, coming back home from office, your wife said at home, friend, you are doing the same thing everyday, going to office, what is the benefit to me of this, yes or no. Then your wife said, okay, do one thing, when you are going to office in the morning, drop me at Amma's house and pick me up on your return. Now what did you do in the middle of the loop? You trapped one thing. What did you trap? Your wife trapped it. Now when you leave for


key: chroma:document
string_value:
Your wife trapped it. Now when you leave for office everyday, then this is also there along with it. While we were working, we dropped off our wife and brought her back to Amma's house. It is like that, now on the way back home brother, you did not have to do any additional work, you just got down from the gate while leaving.Ra and came back came back came back okay well if this had to be done without the loop then it would have to go to the defense separately, it would have to go to the car,


key: chroma:document
string_value:
separately, it would have to go to the car, it would have to go through these drives, it would have to be booked again and again now you have the same loop running what is happening in between all this work that is there yaar nimtola [music] khlo what would you do now if you don't know about loops what would you do simply write once and if you want then you would say I will copy paste it but you have to do it how many times it will happen okay 10 times the name got printed okay but what did you


key: chroma:document
string_value:
times the name got printed okay but what did you have to do this again and again you had to do the same thing you had to do the same thing again and again but if I say what should I do instead of this I should use a loop so I would create a loop that brother this cycle will run 10 times and what will I put in between I will tell it to keep printing the name also what do you do keep printing the name also okay now I will set it here I will say keep going round from here to there and see Who all


key: chroma:document
string_value:
going round from here to there and see Who all are sleeping? Okay, wake up whoever is sleeping, friend. If you all are sleeping, someone should slap you. But if you are doing one thing, okay, you are performing your duty, you are roaming from here to there, then do one thing friend, there is so much luggage lying at the back, I have to keep it there, take this along with you, go and come back, I have to pick up my luggage as well, take it, keep it and come back. Your duty will be done and my


key: chroma:document
string_value:
it and come back. Your duty will be done and my work will also go on in between. Right, right now he will not ask what happened, how? Just like that, I was writing a for loop, I wrote on this, brother, then what all things should I tell you in this, I wrote that the loop will run and what did I say in between, I put this statement, okay, now my work is done in two lines, this 10 times if someone does 100 times, the work is done, I have to do it again and again, not again and again, my loop work


key: chroma:document
string_value:
and again, not again and again, my loop work has happened, it has happened again and again, but I did not have to give it instructions again and again, I did not have to write the code again and again, it just knows that I have to walk 100 times, I will walk once in the body. I will come, yes, I have some work, this is work, I went back and then went again, there is some work, there is some work, I went back and kept going, kept going, okay.Let me also put the numbering, if I say it 10 times


key: chroma:document
string_value:
me also put the numbering, if I say it 10 times then are you able to understand, I just talked about the concept, what is a loop and what it is, now let us see what we do, so let's talk about loop, so how many loops are there in Python, there are two loops in Python, for loop and while loop. For loop and while loop are saying there are two loops, for loop while loop is not for loop and while loop, well what is the work of both the loops, it is the same, but why are these two, you will


key: chroma:document
string_value:
it is the same, but why are these two, you will understand what is the difference, can someone tell me, this difference is different, well, actually this sentence which we call a for loop, the while loop runs on the condition, okay, when I am talking about for loop in Python, I am not going too much, other people will get confused, that's it, there are two loops, then you will also understand easily, first of all, let me talk about for loop, what is this for loop, okay, I will write it here Yes


key: chroma:document
string_value:
is this for loop, okay, I will write it here Yes brother in Python for loop I traits over a collection Python's for loop always works on a collection, on which it works, it works on collection, collection like list dictionary range tuple set, these are all collections of Python, we have read list and dictionary, right, everyone remember, so this works on collection, it does not have any condition, what is meant by a condition brother, I said brother all these things are kept here, you have to


key: chroma:document
string_value:
all these things are kept here, you have to pick up all these things and keep them there, pick them up from this table and keep them at the reception, now how long will this loop run till all the things are finished from here, it will run that many times, you can go and come, I don't know why there is so much addiction in Python, okay, till the loop runs till it picks up all the things from here and takes them there, so in the same way now see, I am writing a simple for loop here, what is the


key: chroma:document
string_value:
I am writing a simple for loop here, what is the syntax, then after for, I have to create a variable on y, its name can be anything a b c i whatever you want, open it in this I said It will extract the values ​​from it, I said friend, hey, do it, extract the values ​​from the range, range is also a collection, range, by the way, if I look here and show the range, it is written range 10, it will not show anything, it will tell, there are values ​​inside it from zero to 10, if IIf I typecast it,


key: chroma:document
string_value:
it from zero to 10, if IIf I typecast it, if I typecast it from a list, then it will make a list of them and show me. If I typecast it from a tuple, then it will make a tuple of that and give it to me. If I have not read the tuple yet, but I will read it, it will make a set and give it to me. Okay, it will not be able to create a dictionary. If the dictionary needs a key, then this means this collection has values ​​lying inside it. I said you will get values ​​up to 10, understand that 10


key: chroma:document
string_value:
will get values ​​up to 10, understand that 10 values ​​are lying there, right? And what does it do? I printed a, don't do anything now, just do a, what does it do? When it starts running for the first time, it says, bring the value in a, from where, bring the value from the range. What does it get in the range, it is zero. So it picks it up and gives it to a. After doing this, it then comes into its body and what are we telling it in the body, what do we do with whatever has come in a, it has


key: chroma:document
string_value:
what do we do with whatever has come in a, it has done its work in the body and gone back again, anything else is a range. Now it will pick up the next value in the range, will it pick up the next value? It went again, one gave one to whom, it gave it to a. It was given and it came in the body. Now once it is printed, what will come in place of A. One. Then there is no other work for it in the body, so it will go back here. It will say next. It will say next, who do I have? Here, two comes near


key: chroma:document
string_value:
say next, who do I have? Here, two comes near A. It then comes in the body and what did it do to two? It printed. Let's see, I will run it. See, all these numbers will be printed. Then, I will write y here along with that for your j so that you can see hello A. Now, it will keep printing hello and it will also print toot. Okay, I said hello and then I gave the value of A. Then I said hello, hello, two. Do you understand what is happening? Okay, let me tell you again, see, the loop that we have


key: chroma:document
string_value:
let me tell you again, see, the loop that we have is running. We write for A in range. I wrote 10 on Y and wrote y. Print A. Okay, now this is the range. When it is iterated upon, then basically what does it get from within the range? It gets values. I have just shown you how many values ​​it will get. Okay, it will get this many values ​​within the range. Okay, what will it do when the loop When it starts running, what will the loop do, brother, first of all the for will tell now a to take the


key: chroma:document
string_value:
first of all the for will tell now a to take the value from the range, the range is ourAfter taking out the value, it will give it to whom. It will give it to A. As soon as the value reaches A, it will immediately come into its body. Where will it come in the body? Whatever task it has got, it will be there whether it uses A in it or not. I can print one A and get something else printed, but the value will keep coming in A. It printed A, so what got printed here, brother zero. When its body was


key: chroma:document
string_value:
got printed here, brother zero. When its body was completely executed, how many lines were there? It was just one line. Okay, it will go back to range. It will say take next value. The next value will go inside A. So the old value will end. The new value will come in A. And what will it become? Print and what will come below will be the output. Then after finishing its work, its body will again go to range. It will pick up the next value from here. And it will give it back. A will be printed.


key: chroma:document
string_value:
And it will give it back. A will be printed. In this way, the last value will come in it and it will become P. When all the values ​​from this collection are finished, then what will happen automatically? It will end. Okay, go to range. So the first thing is that the range will be of numbers only. One thing is that if any other collection other than range is written as y, okay, like I started writing y, now just understand it, it has come here, now I said that I have a list of friends, we have


key: chroma:document
string_value:
now I said that I have a list of friends, we have made, the list of friends was in the list, here a list of students has been made, so this is a list of students, okay, I will take this list here, okay now what do I have to do, I have to send a message to every student that brother, there will be a test tomorrow, okay, what to do, I have to send a message to every student, what will I do, there will be a test tomorrow, one way is this, print students' zero, okay, now what do I write on y, I


key: chroma:document
string_value:
students' zero, okay, now what do I write on y, I said on y, dear, okay, understand what did I do, student zero cutest and what do I do, what will I write in the next line, student, I have a note, this is the index, the message will go to every student, yes, there were four or 5000, whose help will we take, okay, I am looking at each other's faces, look at the screen, we will take the help of the loop, now what will I say, for one thing, pick up a student, pick up a student, from where will I


key: chroma:document
string_value:
a student, pick up a student, from where will I pick up, pick up from the list of students Look students, this conveneIt happens that because that is a list, students are plural, one student will come out of it, so what did I name him singular, it is not necessary to keep student, you can pick it, you can say A, pick T, pick X, or, but the good thing is to pick the student, ok brother come here and come, okay, now what will you do, from this list, the number is coming up one by one, the student


key: chroma:document
string_value:
the number is coming up one by one, the student grew, now what will I write, after the student is zero, I will write student, what will be the value repeatedly in it, now the loop will run, what will come for the first time, in this, Adil woke up, dear Adil's test, then again I picked up the next guy from the list and what will he say, ok, son right, I will write what I understand, yes yes, then this is the keyword which is loop acute, from this it gets to know, the contact that is coming ahead


key: chroma:document
string_value:
it gets to know, the contact that is coming ahead is of the loop, well done, write this and the one who is feeling sleepy should come to me, ok, so what are we doing, we are picking up data from any collection and that We are getting work done from it again and again and every time modification is also happening in our work. Well for a in range, let's first look at the range one because we use range a lot. By default, from where is this number starting? It is starting from zero. From zero to


key: chroma:document
string_value:
starting? It is starting from zero. From zero to na, that means, whatever number I enter, it will go upto one less than that. If I want to do this, I don't want to start from zero, I want to start from somewhere else, then I have to tell it the starting point. From na, run it till where. It will go from na to k. It is okay, right? If I give it a wrong range or I say, brother, run it from 10 to na, what will it give now? It will not give, but if I say, run it from na to 10, but I don't want to


key: chroma:document
string_value:
I say, run it from na to 10, but I don't want to pick up all the numbers, let's keep a third value at y. We call it start end and in the sequence, if we keep p, y, b then what will happen? Which value will come after na, after na, the first step and the second step is going to what? After na, the first step and the second step is going to what? After ff, from sa to na. If I set this to 100 If I do it till then and calculate the value of step then what will happen, it will keep going on with the


key: chroma:document
string_value:
what will happen, it will keep going on with the difference of from to f, if I tell it to be sLet's take it from here to there and go in reverse direction, so what steps would we have to give in minus, okay, we will have to give in minus, if we don't give in minus then it won't run at all, it won't generate any error, but this story will not start, start and yes, give it from here, start from minus 20, where till plus 20 and the value of the step is f, okay, it is possible, but if the step is


key: chroma:document
string_value:
is f, okay, it is possible, but if the step is given positive, then it will start from less and will go towards more, if the step is given negative, then it will start from more and will go towards less, or learn it in reverse, if the range is going from less to more, then what will be the step value, positive and if the reverse is coming from more to less, then what will be the step value, net, okay, inside the for loop, two things pass, okay, now when I ran the for loop, what did I do, I


