Learn Python | Joe Hughes | Skillshare

Playback Speed


  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

82 Lessons (10h 34m)
    • 1. 1 Introduction and Course Overview

      1:22
    • 2. 2 Python Coding - Display Message Using print() Function

      5:30
    • 3. 3 Python Practice (Practice Together)

      5:26
    • 4. 4 Python Comments In Python - # (Hash) Sign

      7:18
    • 5. 5 Python Introduction To Variables In Python

      3:57
    • 6. 6 Python type() Function

      6:19
    • 7. 7 Python - Video for the following reference document

      17:01
    • 8. 8 Python Practice

      2:30
    • 9. 9 Python Introduction To Standard Types In Python

      3:30
    • 10. 10 Python Introduction To Numeric Types (int, float)

      6:02
    • 11. 11 Python Introduction To Strings str, Single Double Triple Quotes

      10:11
    • 12. 12 Introduction To Lists

      9:56
    • 13. 13 Introduction To Tuples

      3:30
    • 14. 14 Introduction To Dictionaries

      3:05
    • 15. 15 Getting User Input input() Function

      5:44
    • 16. 16 Summation Of Two String Values Adding Strings input() Returns String Value

      4:25
    • 17. 17 Casting A String To int int()

      3:53
    • 18. 18 Casting A String To Float float()

      2:28
    • 19. 19 Basic Arithmetic Operations In Python

      1:27
    • 20. 20 Order Of Major Arithmetic Operations In Python

      3:31
    • 21. 21 Logical Operations in Python not, and, or

      7:30
    • 22. 22 Comparison Operations

      2:59
    • 23. 23 if Statement

      4:05
    • 24. 24 else Statement

      3:03
    • 25. 25 elif Statement

      5:12
    • 26. 26 Indentations In Conditional Statements

      5:45
    • 27. 27 Identity Operators is, is not

      9:38
    • 28. 28 Membership Operators — in, not in

      4:25
    • 29. 29 while Loop

      3:38
    • 30. 30 for Loop

      5:23
    • 31. 31 break, continue, pass Statements (Using In while Loop)

      5:58
    • 32. 32 continue break pass Statements (Using for Loop)

      7:46
    • 33. 33 How To Implement Infinite Loop Using while Loop

      4:04
    • 34. 34 Review Of How We Used Python Functions

      2:14
    • 35. 35 How To Define & Call Function

      5:26
    • 36. 36 Functions With ArgumentsParameters

      3:05
    • 37. 37 Functions With Default ArgumentParameter Values

      2:49
    • 38. 38 Using Language Defined Identifier In Function — doc

      2:36
    • 39. 39 Returning Values — return

      3:16
    • 40. 40 Anonymous Functions Using lambda keyword — lambda

      2:29
    • 41. 41 Classes Introduction

      4:16
    • 42. 42 Creating Classes

      8:11
    • 43. 43 Creating Object

      2:56
    • 44. 44 Accessing Members

      4:34
    • 45. 45 Class Variable

      5:32
    • 46. 46 Garbage Collection

      4:42
    • 47. 47 Inheritance

      13:17
    • 48. 48 Using Sub Class As Super Class

      2:55
    • 49. 49 Indexing

      5:20
    • 50. 50 Slicing

      15:33
    • 51. 51 Summation

      4:14
    • 52. 52 Obtaining String From A Non String

      6:47
    • 53. 53 Membership Operations With Strings

      3:31
    • 54. 54 String Methods

      6:25
    • 55. 55 Backslash

      3:26
    • 56. 56 Entering Quotation Mark Within A String Value

      4:44
    • 57. 57 List Quick Review

      12:18
    • 58. 58 Slicing

      10:22
    • 59. 59 None & Empty Lists

      1:57
    • 60. 60 Summation & Multiplication

      5:47
    • 61. 61 min(), max(), len() Functions

      3:12
    • 62. 62 list() Function

      6:06
    • 63. 63 Membership Operations

      2:57
    • 64. 64 Assigning Slices Of The List To Another List

      2:51
    • 65. 65 Assigning To Slice Of A List

      6:36
    • 66. 66 Deleting And Modifying The List Members

      3:48
    • 67. 67 List Methods

      13:00
    • 68. 68 Tuples Quick Review

      4:58
    • 69. 69 tuple() Function

      2:24
    • 70. 70 Accessing Member & Slicing

      4:10
    • 71. 71 Modules

      7:12
    • 72. 72 Creating And Using Modules In Python

      8:48
    • 73. 73 Structure Modules Into A Package

      7:37
    • 74. 74 Contiuation Character

      1:48
    • 75. 75 Multiple Statements

      1:34
    • 76. 76 Multiple Assignment, Swapping, Chained Assignment

      11:48
    • 77. 77 Random Number

      8:45
    • 78. 78 Function Call With Different Name

      3:31
    • 79. 80 Python Shell

      1:46
    • 80. 81 Perform From Command Prompt

      7:36
    • 81. 82 write() Function

      5:13
    • 82. 83 Build with Python, Django, XML, SQLite

      193:32
  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

345

Students

--

Projects

About This Class

Python is one of the most popular programming languages in the world. Python is the number one language choice for machine learning, data science and artificial intelligence. To get those high paying jobs you need an expert knowledge of Python. Following topics are covered in this class

1 Start Coding With Python
2 Variables And Identifiers In Python
3 Introduction To Standard Types In Python
4 input() Function And Type Casting
5 Basic Operations In Python
6 Making Decisions - if-elif-else
7 More Operations
8 Loops
9 Functions
10 Classes
11 Strings
12 Lists
13 Tuples
14 Modules
15 Exception Handling

Meet Your Teacher

Teacher Profile Image

Joe Hughes

Teacher

Teacher

Hello, I'm Joe.

See full profile

Class Ratings

Expectations Met?
  • Exceeded!
    0%
  • Yes
    0%
  • Somewhat
    0%
  • Not really
    0%
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.

Transcripts

1. 1 Introduction and Course Overview: in this course, I will first introduce the basics all fightin. Next, I will introduce some other popular technologies, and I'm gonna show how to start using Parton with this taken ridges. In order to take this course, you don't need to the developer or expect in i t. As long as you are interested, including you have Internet access and you have enough knowledge on using computer, you can subscribe this course During this course, you will say that fighting is easy to learn, easy to use high level, strong language, and you can called with fightin for many purposes. For example, examine VEP database cloud computing, graphical user interface development, file processing, data processing on other tasks. By the way, fighting is also very strong in order to perform computations, related toe finance, mathematics, physics, accounting, engineering, networking, testing, artificial intelligence, etcetera. The objective of this course is to help you start learning Parton whatever your profession is, if you need to perform some computation or if you are interested in quoting for some applications, this course will provide you quick introduction and it will help you very much. You are very welcome to my own line course. Thanks for watching 2. 2 Python Coding - Display Message Using print() Function: Hello. In this picture, we will start cutting with Parton for the first example, we are going to display a message on the secret seeing. Start quoting with fightin. First open a new file. Go to five million, click on new file. The new file is opened important. You can simply use print function in orderto display the data on the screen. In the first example, we will be using print function. So here I type print between the parenthesis old current function. You have to enter the data to be displayed on the supreme. If you directly enter a text within the parent is this I mean, if you direct, the enter is sitting within the part on Texas. It is to be friend with quotation marks. Let me repeat it again. We were going toe display a message on the screen on the message of us. Start quoting with Parton. So within the quotation marks, I will enter the taste. So it is a start. According with Titan. Let me at exclamation mark at Dan. That's it. As you can see here, the message is framed with quotation marks. Funds we entered it within. The parent is all the print function. It is that simple? No, we can save. And around this coat after we save and run this good, this message will be displayed on the screen. Let me save on running. In order to save it. Go to file Minute click on Save Read in part and 3.4 folder, which is fighting 34 I created another folders. This will be my working father for this course, and I named this folder is learned part and quick examples in this course, I'm going to save the major to off the sample coach in this working folder. So I opened this folder. No, I need to enter the filing. Let's name it as displayed message. So I typed Display underscore message than your name, your Piketon courts. You can use underscore. So I entered it like that. It don't I'm going to it. That's P VIII. In order to indicate that it's the fight in court, you can save, not we can run it goto Ron minute there. Click on Grandma. You can also click on a five from your keyboard. That's it. The message is displayed on the secret. It is that simple. Let me refer to taking. After I opened the new file, I used print function in order to display a message on the secret. So the message is start quoting with fighting. Since I don't like the answer is sitting within the parent is or print function. I framed that with quotation marks. After this from file millions, I clicked on safe in order to save the file. Then I was naming the file. I named it displayed message that Levi in case if you are using another text editor, it don't please put that Levi, You know that indicate that it's the Fighting Court after the file is safe. From Ron Minute, I clicked on Ron Lauder. You can also simply click on a fight from your keyboard in order around the court. It's off the right clicked on Ron loaded. Vote Jones. The message is displayed on the secret. That's it consolations we simply displayed The message on the Supreme is you will discover in the following pictures you can't implement many things easily by using fightin. Download the lecture. Thanks for watching 3. 3 Python Practice (Practice Together): In the previous example, I answered the data within the portentous ISO print Function Fund. This part was displayed on the screen since identically entered a string. Value is a perimeter for print function. I framed it with quotation marks. Let me run it again. Run brown, Loaded, please. Not that the output is not framed with quotation marks. I framed that something of other because of directly entering it is a perimeter for print function. Let me close and open it again. Run Pichon show by using print function. We can also display an America hater on the secret. So I first typed turns on I under the poor aunt. This is let's type von so, as you can simply see here than either take the enter a numeric data is a perimeter for print function. I didn't frame it with quotation marks. Let's save this sample with different names. File. Say this. Let me limit as practice underscore one that provide. I keep getting that provide it. The end in orderto help you to oh, pain practice for that because some editors do not put that pitch by at the end. Vile naming the file, such as not bit. So I click on. See? Let me run it. Run is expected Both sitting on numeric data which are directly entered is perimeter for print function are displayed on the Supreme Nick Nichols and start the fight in shell again . I can't continue with it. However, I wanna show you clear secret in order for you to say the results better. So let me do that place. Okay? Let me show you that as well. What happens if I don't frame? Start quoting with Parton. So let's remove the quotation marks. So you must recognize the color change. Here It was green. Let's save and try to run it File. Save it. See? Run! Please be careful. You will see some error message now Ramadan is you can't see. We got error Message, Syntex and our indicates invited syntax. I click. Done. Okay. And it's closed. Let's fix it. It's frame Start quoting with Parton with quotation marks again. So it came back Fine se vis practice three that people I see it on so it is faced in conclusion value directly. Answer The data is a perimeter for a function the need for the use of quotation marks to frame the data is determined by the type of the data you direct planter. She is This is string type. It is friend with quotation marks. This is not all the lecture. Thanks for watching. 4. 4 Python Comments In Python - # (Hash) Sign: in this lecture, I will show how to enter comment in Patton. But before that, let me provide some view on Titan and what we covered. Until now, this will be helpful for you. Round the following lectures are being covered in the previous examples the sample courts had run or two lines. It was easy to understand what is being done in the court. Value read. I also want Toe State that fighting is easy to learn, efficient and easy to court. Easy to understand object oriented, high level language. Fightin is easy to understand, so value it apart in court. You can have some idea about certain parts off the court. On the other hand, by using fightin, you can easily implement many things in a few lines. Vile, mean other language requiring you to put much more effort. Van your coat his a few lines. You may not need any explanation. Hollywood Value work for a company or value. Implement some complex. So fair for another reason. You better answer comments. Your coat, which will simply explain the court. The commanded parts will be ignored in order to enter a comment. You can't simply use his sign the parts which is entered after his sign in the line. I will get comments did commanded part will be ignored. These are the samples to enter comments. Let's enter a quote using print function. Interesting value. Let's say first in the following line. Enter hash sign. Next type parents. Let's say taken. Which will be string also. Bam, Iran. This court Second, I will not be displayed on the screen in the following line. Litmus E print start And after a different function, let me use high sign on Litton's say Coleman. It is Sign the court part, which is entered after the high sign will be ignored. This message will be displayed on the screen because this part is not indoors, it is entered before the high sign. In this life, however, this part will be ignored. Let me save and around the school. Fine. See, let's name is comment. Underscore von that people I save Run Ron Moody. As you can see from the output, the parts in the lines which are entered after high sign are ignored so first on turf are displayed on the screen since print function is entered after high sign for second message . This part is ignored. This message is not displayed on the screen. Let me remove the hash sign here. If we save and run this called again. Second message will be displayed on the secret because this part is not commanded. Animals witness Save it is a different file. So fire say this safe run Ron Moody is you can't see here. Second message is displayed on the secret. So if you want to see it clearly, I can't close the pipe and shell and start it again. Let me run it again first, Second, third are displayed on the supreme. Let me show you vom Orting. What I entered is ignored because it is entered after the high sign. If I remove hash sign from here. If you think in terms off this court, this doesn't mean anything else. Verticals. If I save on around this court of files, save this save, let me close and start this one again. Run, Ron Modern. We got an error message. Let me fix it. Let's save and run it again. File safe. Run around with it. So it is fixed here. I also wanna show that you can also use comment in orderto disabled the court or in order to divert your course, I assumed that you are having some kind of problem. Vic Tickle like the output is not how we expect it did time in order to detect the problematic part you can use common so you can't simply comment some code back, and you can't powerful the biking. On the other hand, let's see. You don't need to her for some part off the court for your program on a You don't wanna complete remove dead part. You want to keep it in the court At the time you can comment that court part. It's feel state in your pipe and fire. It will not be executed in conclusion. In Parton, comments are ignored. Is it is in other language as well funds. In order to enter a comment in Parton, you can use high sign. I also recommended to use comments with a very simple explanation. You can't remember many things easily. On the other hand, if the court will be modified by another person, your comments help that person to save time to understand the code is I stated before you can also use comments for debugging or making some coat part to be ignored. This is the end of the lecture. Thanks for watching. 5. 5 Python Introduction To Variables In Python: in this section we will cover an example using current function in Siddle directly using the values its perimeter We are going to use variables is perimeter for beginners. The use of variables Inp Iten is easier than the user. Very was in some other language. Let's see that in this example. Let's see Message one is equal toe assisting value. Hello. Let's enter another valuable let's name it is number one for this. For able, I will assign a numeric value. Let's say nine. So message one is equal toe extinct Hello Hello And number one is equal to any medical value Night Let me clear. Fight! We have two variables The charge Message one and number one We did not specify if they will get numeric or sitting values. Four Message one I assigned a stink value which is hello. And for number one, I assigned an integer value which is nine. No, instead of directly using the values is a perimeter for print function. I've abuse variables its perimeter Let me do it. I first type parent pounds in Sydell Direct the answering the sting value Hello is a perimeter. I will be answering message once on again. I first type friends in Siddle directly answering Intentional. Rather, nine is a perimeter I will enter. Number one is a perimeter for current function. So let's see the result. Let me say that before I around this court, the expected result is the values which are assigned to message one on number one will be displayed on the secret. So let me do that. I will first save this file file safe. My name It is Valeron dot tv Save Run Ron Loaded. As expected, the brothers off the variables which are named Message one and number von, are displayed on the screen In conclusion, in fightin, we can also use variables. Is perimeters in Sydell their values? This is the end of the lecture. Thanks for watching. 6. 6 Python type() Function: In this example, we will write a sample code which will display the type older variable. So we will verify that the site old of are able candy. I don't fight by Parton after the value is assigned to the valuable. Here we are using the same variables from the previous lecture with the same assigned values. In orderto get the type, we can simply use Parton's tight function in orderto learn the type of a variable here, the first type site within the practices, you have to enter the name of the variable. So here the perimeter is very well named. In this example, I will first get the type of message one. In order to do that, I first type type within the core fantasist I enter the name of the variable, which is message one. So by this way, I will get the type off message one. Let me repeat it again. Message one is a perimeter for type function in this line. I also need to display its type on the supreme. So this is the question which function can be used in order to display a data on the secret . It was print function. So No, I can't put whole part. Is it parameter or print function within the Francis's? I entered type off message one. So type off message one is obtained by type function. A message One is the name of the valuable on variable name. His entered is a perimeter off type function. From this output on the secret, we will confirmed it. The type of message one is to think. Let me put this part at the top. So it looks better now. Now let's do the same thing for number one again. In orderto get the type of number one, I have the first type tight within the parenthesis. I have to enter the very well name, which is number one from here. We will get the type off number one. Enough. I put a whole part is a perimeter for print function. By this way, I will display the type of number one from the output for here on the supreme. We can confirm that the type off number one is in danger. Enough. We are getting better and better in Parton. That's great. Lecture by lecture. You will get much better in Parton. Let's go on to you No, we can save and run this good. Fine. Save. Let's name it is prior to that Levi save run round model. We got the expected results. So we confirmed that the type of message one is sitting on the type off number Von is intelligent in fightin. Real numbers with decimal points are represented. Biden float. Let me change the value off number 12 A float number. Let's say number one is equal to 9.3. Let me save it with different things. File. Save it my name. It is largely that people save Run, Ron Loaded is you can't see from the results on the supreme Since it's signed a real number with decimal point to number one. The site off number one is this plate is float on the supreme In conclusion for this example the site off the variable is I don't fight based on the assign that value to that variable. This is the end of the lecture. Thanks for watching 7. 7 Python - Video for the following reference document: we have already started using variable senpai eaten and we already solved it value assigned a value to the variable. The entire further automatically allocates some supes for the valuable in the memory. But there are some rules which apply for the variables in Parton. In the four living takes tutorial, I provided a reference document on naming gross and naming convention in Fightin Hollywood . I will also explain some of these rules in this video picture. First of all, in fightin case Medders for I don't fire names, which means it is case sensitive. Let me show that in this example let's say we have it variable, which is named number. All the leaders are lower case, so let me type it number aren't here. I assigned a value to this variable. Let's assign Von if I want to display the value which is assigned to this variable on the supreme by using print function, I have to answer this variable name. Exactly The same is a perimeter for print function. If I save on run this good, I will not have any problem and the value which is assigned toe number will be displayed on the secret. Let me do that? Fine. See its name? It is rules, See? Run. Ronaldo is expected. The value which is assigned toe number, is displayed on the supreme and again Please, Not that Here All the letters are lower case letters. So what was the first room? Inp Iten case Medders for I don't fire names, which means it is case sensitive. So if I change one of the leaders in this variable name, we will have a problem. Van der on this court Let me do that. Let me change Nieto, which is lower. Casey and I will change it. Toe Upper Casey, if I run this cold, fightin will clean that this variable is not defined. We will get name error. Let me say this file with a different name. But before that let me close and start this show. I close and start the shell again in order to provide you clear secret because I don't want you to mix up the results with the previous example. So this is the new example on here we are going toe Save this file with different things. File Save this its name. It is rules toe that divide. See? Run Ron Loaded. So is expected. We got name error and fighting cleans it. Name number which is with upper case There e is not defined. Yes, it is not defined because here we defined if we're able with name, which is all lower case letters. So let's fix this problem. Let me change capital e toe Smalley. Let's save it again. File Say run around loaded So the value which is a scientist number, is displayed on the second. It is not it. Both are the same on for both of them I've used on the lower case letters. The second rule is that in fighting I don't fire names. Start with a leader or underscore leader can be a capital letter or small leader. So these are the letters on it is to continue with a letter or underscore or digit. Let me show that in this example so written Answer. The first variable. Let's start it later. So let's say number. So we started with later and we continued with letters as well. We can also continue its underscore on. We can also continue it visit so late in type fun, So let me a sign of other to this variable. Let's say one. So number one is equal to one. So this naming is valid. We can also display its value on the supreme. That's it. Viol naming died and fires. We can also start with underscore on here. I would like to say number to aunt. What's happened? We started with underscore. We continued with leaders on a visit. We can also enter underscore here. It will be fine. Let's assign a value to this variable. Let's say to similarly, let's display its value on the secret By using current function Van, you save on run this good. The values which are assigned to these variables will be displayed on the supreme. It's safe and run this court file save its name. It is rules three that Levi save Run, Ron Loaded. As expected, the values which are assigned to number underscore one and underscore number underscore to out of this played on the sitting. So it worked fine because but off the very was are named correctly pays down the road. Let me close this fund. So this is the question here is it? I don't fire names. Start with a leader or underscore leader could be a capital or small leather, and it is to continue with a letter or underscore or digit. So what happens if the first is digit for here? Let's say fun. Andi, Let's see if another variable name includes question Mark. So based on the roof, this is involved. So let me modify this part as well. Since bottled variables are named incorrectly, we will get an error message. Let's save this cold with a different name. Fine. Save it its name. It is Rule for that. See? Run round, as expected, we got error message. So we got syntax error, which says invalid syntax. So they see that here for this variable name, we have got invalid syntax errors. Let's close it. Let's remote this one. Let's save on runs again. See? Throughout we got another in Dallas and text. Okay, let me fixed again. Safe. Okay, Rock. So we got another invalid syntax error because off this for able name. What happens if I remove question mark from here and here? Let's save and around this court it should work right now because we fixed the errors. Okay? No, it works fine. In conclusion for this room the I don't fire name should start with a later, which could be capital or small later or it can start with underscore. However, it is the country of it a letter or underscore or digital. If it doesn't match with this rule, the name of the variable will be invalid. Van around the court, we will get your message. Finally, another rule is that the idea on fire name should not be a reserve Virts, which means that the result Wirtz should not be used to name any variable or any kind of I don't fire. Let me repeat it again. The reserved votes should not be used to name, even if are able or any kind of I don't fire in Parton Resort, verts for patent version two and fight inversion tree are a bit different since we are using part in version three for this example Here in this file, I entered the least off reserve Virts in pipes and version three. Harvey Good. In the following takes tutorial, there's a reference document which is prepared Val, and it provides the least for the reserved words for part in version two and part in version three. I provided for fighting version two because in this course I provided some additional topics with pipe and version two after recovered the basics of Parton. So by this way, you will be able to start using part inversion to Ezra. It will be helpful for you. Value of work for a competent because some companies are still using part in version two on some tools are working with Parton. Version two. Very well. Let's continue with the example in this example. I will make a very simple mistake. Since we are not allowed to enter a reserve. Vert is a variable name. I will enter a reserve. Is it very bony? So I will show Harvey get the error message. So here, let me choose one reserve Earth. So let's just finally I will say finally is equal toe von aunt. I will try to display its value on the supreme by using print function. So van I run this good. We are going to get error message. Let's save and around this court in order to see the result file. Save my name. It is rules five that provide save, run, ground water. So we got error message which says Invalid syntax. Let me show it here. Okay, We got error message. Resets involved Syntex because we tried to use a reserve Were for Parton version three. Is it very evil name in conclusion. Then they use the variables or I don fires or van named Ida. And fires behave to remember three basic rules. First of all, Inp Iten K's Medders for I don fire names. So it is case sandstone. Second day I don't fire names. Should start with a letter or underscore Little Could be a capital or a small letter fund. It is to continue it later, underscore or digital on. Finally, the reserve Vertes should not be used to name any variable or any kind of I don't fire. Before I finish this lecture, let me say that also in this lecture I simply introduced the rules to name the I don't fires in fightin in the following takes tutorial rules and naming convention for Parton is nicely documented. I recommend you to check out date later so it will be half for for you to understand this concept better. This is the Ando director. Thanks for watching 8. 8 Python Practice: Let's start with simple arithmetic operations in Brighton and practice what we uncovered. Until now, four basic arithmetic operators in Titan are provided here for summation, subtraction, multiplication and division. In this example, a sample code for submission is provided by referring to this court. Modify the court to comfort and display the results for other three arithmetic operators in fightin. This sample code will be provided in the next lecture is a text and a sample solution for this exercise will be provided as it takes in another following lecture. But before you start up, let me explain this example. In this example, they created two very was named number one and number two first and the assigned values toe these variables Number one is equal to nine. Number two is equal to three. And in this exercise do not change the values For number one and number two, we created another variable called submission and the result for number one plus number two is assigned toe this new viable to display the result, we have done something new. Let me explain that as well. In Titan, you can enter more than move on input toe parent function by using comma operators between the inputs. By this way, that takes some mission and the submission variable, which is the result off number one plus number two will be displayed in the same night. So here is the result displayed on the screen. The text submission and the result for this arithmetic operation which is assigned to submission, are displayed in the same line. 9. 9 Python Introduction To Standard Types In Python: in this section, I will introduce five standard types. Inp Iten. So the types I've all introduced in this section are no medic types sitting to pull list on a dictionary for numeric types. I will introduce integers on floating point numbers. Van Integer is mentioned. You here to remember that integers do not have this small point than floating point number is mentioned. You have to remember that it represents real number. The decimal point. A sitting really remind you a second. So characters in this section we are going to use to pull list on. Additionally, for the first time in discourse, however, I will also provide some very introductory information about these types. Let's start with Triple two. Polls can also be called as a couple sometimes have ever I called it is triple, and I will call it is to pull in this course. Pupils are immutable on. They store multiple members. Lists can remind you it is in C plus plus C sharp or Java lists are immutable. They also start multiple members. A dictionary consists off key value pairs, So in order to access that data, we are going to use the corresponding key recover to pull list and dictionary. You will understand these types better before finishing this lecture. Let me say that as well. There are more concepts for Parton's built in object types. If we go deeper, have even the objective of this course is to introduce Parton in very easily in order to help you start calling with fightin so I don't find a bother you, Victor details. But I will be introducing. Here is what you need to know about fightin value. Start quoting Vic Discourse. I will also introduce some details when the related sections are covered. This is the end of the lecture. Let's start covering the lectures on these types. 10. 10 Python Introduction To Numeric Types (int, float): In this section, I will introduce integers on floating point numbers. The first example will be on teenagers pounds. The second example will be on floating point numbers. Let's start the older the used integers in the previous examples. In this example, I will enter to vary bus on Idol is sign integer values to these variables. Its end. I will display the type off these variables on the screen. In this example, victim it. Enter two variables, which are named number one and number two to number one. I've Elice sign a positive integer number for number two. I will assign a negative integer number. Let's say number one is equal. Toe 19 on number two is equal toe minus 84. So obviously the type off number one and number two villa displayed is in Texas. Let me do it in the court. Remember that we used type function to learn the type off the variables Here. I will use it for number one and number two done. I will display there types on the screen for number one first learned the type of the variable by entering it is a perimeter, so I have the first type tight and I have to enter number one. Is it for a meter for site in order to displayed on the screen, I will enter. This whole part is a perimeter for print function. That's it. I'm refuting that in orderto remind you everything from the beginning. Let's do the same thing for number two. So it feels enough If we change. Yes, Van, we save on around this good. The type for both off number one and number two will be displayed. This intention Fine. Safe I name it is in Rwanda. Save run, Ron. Loaded. Older. We didnt explicitly indicate the type of number one and number two. But since we assigned indigent brothers toe these variables, they're types are displayed is integer on the supreme in fightin. Real numbers with decimal point are represented by floating point numbers. Let's see what happens if the answer real numbers with decimal point for number one and number two. So let me do it. Let's say number one is equal toe 19.1 and number two is equal to minus 84 0.2. After we save and run this good the type of number one and number two really display this float. Let's do it. But let me first clothes and start the fight in shell Save. It's different name. So file savers float one that provide see Iran around molded. So is expected. The type of number one and number two are displayed is float on the Supreme because the answered floating point numbers tow both off these variables in conclusion. Although we didn't explicitly indicate the type off Number one and number two they're types are displayed based on the values which are assigned to these variables. This is enough for introduction off the numeric types. Inp Iten. In the following lectures, we will cover about other types in Patton. This is the end of the lecture. Thanks for watching. 11. 11 Python Introduction To Strings str, Single Double Triple Quotes: in this lecture, I will introduce said drinks in fightin in fightin In order to store and process textual data, people use sittings, so they are going to use sitting tight in order to store and process sexual data value. Answer. Sitting of others. They must be framed it single court, devil court or three cool court. If you use three pull courts, I would like to tell you two important things. First of all, you have tow start on. Use the same type of quotation marks, which means that if you started with single quotation mark, you have to continue it. Single quotation marks. If you started with double quotation mark, you have to continue with double quotation like or you can say it like if you started with a single court, you have to country with single court. If you started with double court, you have to continue with double coat. That's it. Also, with three pull quotes, you can enter multi line sittings. Very cover this lecture. You will understand everything better. Let's answer a variable. Let's say sample of on on. Let's assign a sitting Moloto. This variable by using single court I will enter is sitting brother. So let's say this is an example. No, they signed. It's sitting brother to sample Von and the answered sitting value is framed with single courts. It is that simple. Let's display this value on the supreme by using couldn't function. Andi. Let's display its type on the screen as well. So we've you lose type function on sample long, which is the very bony. It's a perimeter for type function and by using print function, let's displayed on the screen. Okay, as expected, the string value, which is a sign, cool sample one is displayed on the screen and is expected. The type of sample one is displayed is sitting on the supreme in conclusion. For this part, we can enter sitting values by using single court in the first line, I answered. If we're able on, I assigned its think value to this variable. While entering this sitting value, I framed it with double courts. The expected result is that the value, which is something value which were assigned to sample toe, will be displayed on the supreme, and finally, the type of sample toe very display down recipient is sitting is expected. The value which was signed Toe sample toe. Is this played on the supreme? Next? The type of sample to is displayed is to think in conclusion For this part, we can say that we can enter spring values by framing them with double courts. I will frame this sitting brother with typical single courts. So I started it. Single court on. I can't hear it. Single courts. Please don't forget this. This is very important. In the following line, I display the body which we signed toe sample three. And finally I display the type of sample three on the supreme. Let's do that. So the value which we signed toe sample three is displayed on the secret on the type of sample. Three is this plate is sitting here. We are going to use three full double court on Let's name this variable is example for for this example, it doesn't make it what variable name views in this example. However, I don't want to confuse it with the same variable name in this picture. So instead of single courts here, we can answer triple double courts. If I start with double quote, I have to continue with double coats. So you see the problem, So no, it's OK. I started it. Double coat on, I quantity of it double coat in the four living black, going to display the value which we signed to sample for. And finally, we are going to display the type of sample for on the supreme. Let's stood it. So we displayed the value which were signed to sample for on the Supreme. And finally, the type or sample for is this plate is sitting on the supreme value started with double coat. You have to continue with double coat. If you started with a single court, you here to a country with a single court. Now I am going to change one of these courts toe single coat in order to show you the problem. Even though if you change the Smithwick one for the same, you're going to hear problem again. Let me show that. But it's let's try to run it. Ron. Ron Woodard. So we got our message, which says syntax error. He invited Syntex is you can't see that if you use trickle court, you have to use the same type of quotation mark in order to fix this problem you can make all of them double quotes or single course With three full coats you can enter Marta lines things, which means that I can't make this sitting multi line on. This is Let's say this is another on Let's make it march line string Ezra, Let's make it three people. Why not? That's it. You fight. Run this court. If I save and run this court, we will see the output is we entered. So we entered. The value is multi line sitting. So the output Village idiot Multi line Israel Let me show. That is You can't see it is this plate hardly entered. So the answered sample six in two lines. So it is displayed in two lines on the entered sample. Seven in three lines. It is the split in three lines. That's it. 12. 12 Introduction To Lists: in this picture, I will introduce lists in fightin by using lists we can sort multiple members in order to enter the members. We have to enter these members within the brackets. Let me shoulder. In this example, I will first enter a listening which will be, let's say, sample on. Let's answer the members for this list so I will enter the members within the brackets. The first member will be one. Let's say, the second members of it. Ah Piketon on third number to be zero on the last number to be fight. So it is that simple. So we entered the list on These are the members of the list. All the members are separated by comma. No, let's display it on the screen first by using print function So the list name was sampled. Let's display its type on the screen as well, so I will use trans function again. Next, I will use type and then I have the right sample. So let's do that. Fine. Save. Let's name it is least one that provide. See Ron, Ron Moody. As you can see here, we displayed it on its type on the secret, the type o sample is this place is this So these are the expected results. Let's go on to you before I start this part. I would like to say that this are mutable so we can modify the lists. So it is very important. It can be an interview question because of it. Please keep this in your mind. I've a first access the members off the list by using index numbers. So you already know how to use index numbers in orderto access a member of a list. By using index number, you need to first enter this name within the reconceived entered index numbers. It was a bit different for the sittings. However, it is similar. So if you want to access a member of a list by using index numbers, you have to first enter the listening within the brackets. You have done third index numbers. So here in this number zero points von in this number one points fightin index number 2.0 index number three points five If you use negative index number in this number minus one points five Index number minus 2.0 in this number minus three point Spartan in this number minus four points. One. By using parent function, I will display some members by accessing them where index numbers. So in order to access a member by using the next number, I have to first center that this name is just a sample within the brackets I have done through the index numbers. So let's say zero. No, it's display a member, which is pointed by minus toe. Here we are going to display a number off the list, which is pointed by index number zero. And here we are going to display another member, which is pointed by index number minus. Let's do that file. Save it Ivan name. It is listo that people save from so index number zero points Von and we displayed it on the Supreme Index number minus two points zero, which is there minus fund points five minus 2.0 and displayed it on the Supreme. We can also modify the members off the wrist, So in order to do that, we can access that member by using index number. So it's modify the member, which is pointed by index number zero. So I will answer zero, but in the brackets so I first entered the this name reading the records. I answered the index number, which points the member, which I'm gonna modify. So which is one instead of vintages? Body Rival Answer. Let's answer. Let's under a list for that vinyl. So within the brackets, I will answer five. So it will be that simple on Valley display The member, which is pointed by index number zero We are going to display Fight within the brackets. Let's modify another member, which is pointed by index number minus two. For that, I had to enter the this name first on reading the brackets. I have to enter the index number, which is minus two on Let's Say it is a sitting roller, which is fightin or learn pipes. It's save it with different names, say, vis this three that divide See, and Ron Ron. Motive is you can see from the result on the Supreme we modified the list. So the new number, which is pointed by index number zero, is five billion of rockets on a Another new member, which is pointed by index number minus two, is learned. Parton, let me show you one more thing here. I've on the show type off, this member says. Well, let's see que here. I'm going to display the type off sample. Zero on the secret. Let's do the same thing for another member, which is pointed by index number minus stuff. So parents next year's under this light function on I answered sample within the Rockets minus tour. So this is kind of perimeter for type. Function on this is a perimeter for print function. Let's save say this least for that device run after the modification. The type off the member, which is pointed by index number zero, is this fund. The type off the member, which is pointed by index number minus two, is sitting. This is enough for introduction In the fall of the lectures, we will cover more about lists in fightin. This is the end of the lecture. Thanks for watching 13. 13 Introduction To Tuples: triples are similar to the lists. However, there are two major differences. First, family defying two pools. We don't use brackets and second triples are immutable, so we cannot modify its members by using two posts. We can also store multiple members and we can also access the members off to pull by. Using the Indus is we can also use positive and negative index ists to access its members to access the member. The formula is almost the same again. We have to put the to pull name first. Then we have to use brackets and we have to put the index number between the brackets. This line simply this place the first member off the triple named sample. On this line, simply display the last member old is to pull. We got the expected results. They start to modify, Remember? So we got our message. Says to pull Object does not support item is signed. In conclusion, we can say that two polls are immutable and this tutorial is important as well because it could be another interview question for you. The major difference between two people and police is list is mutable. Triple is immutable 14. 14 Introduction To Dictionaries: another composites or second show data site is dictionary. In this tutorial, we will cover the dictionaries. We use dictionaries if we need to access the values by using the specific ease. The main difference off dictionaries from the previous types is that you can use any type of unit key value. To create a dictionary, you have to first answer the diction their name on You have to assign the key value payers which are written between the turn of brackets. Here is the example for dictionary is you see here the keys are different from each other. So be careful about choosing the case uniquely, you know us. Is that missionaries, Members? You have the answer first additional name and on beef in the brackets. You have toe type Vicky in this line using this key. We are also seeing this value on we're going toe this way. This father on the screen is seen here value which is related toe. This key is accessed on this plate on the Supreme 15. 15 Getting User Input input() Function: in this picture, rival introduced input function by using input function. We can get input from the shelf. So while the program is running, we can get input by using input function. Please not that before I covered this example, the data which you obtained by using input function will be sitting in order to use input function. You need the first type. Input on it is followed by parenthesis. If you need to display a message on the secret, which explains what kind of data to the enter you have to answer it within the apparatus is so it will be suffering again. Let's say please enter your age. Um, with Santa Colon. That's it. No, we have to assign the input to a variable. So let's say they were able to be sample. The input, which is entered by user will be assigned to sample. However, the type of sample will be sitting. Sayville show it's type as well. So by using print function and tie function I've of this plate the title sample on the supreme. So we are going to verify its type as well. We can also use this data which parent function as well So let's do that. Your age is if you need to answer another data within the parentis off print function, you can separate it with coma so I can enter another argument for print function by the street. So that argument really sample. By this way, I can't enter two arguments or I can't enter two parameters for print function. David. Participate on the secret and they will continue. Let's see this in this example from the Run It Okay in the first line we get and input from the user while asking for the input, we are going to display a message on the screen, which is Please enter your age. This part is not mandatory by the way you don't need toe displayed this part around the court. However, it will bit better if you put some explanation for the user in the following line. They are going to display the type of sample on the supreme it will be sitting on. Finally, we are going to displayed it value or example on the supreme. However, it will not be alone. So we answered to perimeters. Within the parent is a parent function. It will say your age is, but the user enters. So let's say if the user says 25 it will display your age is 25. That's save. And around this court file save well, it's name it is input. Want that provide save run, Ron murder. So this message is displayed on the secret and it's asking us to enter the age. So I will enter. Let's say, 29 he counted So the type of sample is displayed as sitting and this part is displayed on the secret police. Not this part. Let me show it better. Here for print function, I answered two parameters. The first parliament is sitting. Another is sitting as well. However, this one is variable. So this is rather your age is the value of sample. So it is this spirit on the supreme. In conclusion, we can get input from the user van. The program is running by using input function funds the type off the data which is returned by input function visiting. This is the end of the lecture. Thanks for watching 16. 16 Summation Of Two String Values Adding Strings input() Returns String Value: in this lecture, I will show have to some to sitting values. Let's make this example a bit tricky. So let's say is if we are asking user to enter numbers on let's show it, like is if we are tryingto some to numbers. So they say number one is equal toe the input which is entered by the user By making it tricky. I wanna give you some the impression that you will remember this example very well on, Let's say enter number one. By the same, they let's get number two as well. So copy on pace instead of number one. We are going to type number two, and here it is. Number two, Israel, that's it. Now let's say some mission is equal. Toe number one plus number two. No, let's first display that value off submission on the secret in So it will be a print on submission with the perimeter. In the following line, let's display the type of number one, number two and submission. So print type some Yushin or let's first display number one and number two so it's copy and paste and let's modified. Okay, so it is number one on this line will display the type of number one. With this time we are going to display the type of number two and in the last line we are going to display the type of submission. Let's see what people's fine See that's name it is input toe that provide Run Ron model. Let me make it like that. So I first enter number one. Let's say 45 hit entered. Let's enter number two. It will be, let's say, 45 again the expected result for some issue to be 90. But it is not because by using input function, the type off, the value or the type of the data will be sitting. So he enter. So in Siddle 90 it showed 45. 45 which is the submission all to sitting values. So it edit 45. Andi, another 45 is strings von After another is expected. The type of number one is sitting the type of number two is sitting. The type of submission is sitting in this lecture with this example we just refuted but recovered in the previous lecture. I also provided some kind of motivation for the following lectures. This is the end of the picture. Thanks for watching 17. 17 Casting A String To int int(): In the previous example, we sold it. Input function returns Sitting brothers so obtain value by using input function, it's type will be sitting. Let's repeat that example here to make it simple. Let's answers to off on 34 it's answer again. Also, the answered intentional values, the type off the imported valor is displayed as string. The type of submission is displayed as drink on. It is simply the result for joining two character sittings and to end. In this example, we are going to cover home to conduct the submission operation for the invasion of others answered by using input function. In order to do that in Brighton views into function. So this in function simply converts the type of its argument So intense. So the argument here is the value which is obtained by using input function from the user. Let's do the same thing for number two. No, the site of the value which is assigned toe number one, is intelligent on the type off. The value, which is assigned to number two, is intention. After that, the site of the submission will. The intention on this operation will be the submission off 20 serve others. Finally, the type O number von is displayed as vintages on the type of submission is displayed as integer here. Also, the result which is displayed here, is the result for the submission off to integer values. 18. 18 Casting A String To Float float(): Let's see what happens if we try toe. Enter float numbers using this court 12 point 36 is seen here. We got error message. So to fix this issue, we can simply convert the value which is obtained using input function, toe float type. In order to do that instead of in function, we need to use float function. No, the type of the value which is assigned to number one on the type off the value, which is assigned to number two, will be float this scene here. The problem is solved. The result is the submission or to float numbers pound the type for number of on on for submission are displayed as float. 19. 19 Basic Arithmetic Operations In Python: in this tutorial, I will quickly introduce the major arithmetic operators in partner. These operators are listed here for addition Subtraction. Multiplication division model is exponents and fuller Division here I have provided some example Court in the following takes tutorial I will provide this court so you will be able to practice by yourself by changing the values or seeing the results here. I just quickly introduced how to use this operators. Let me quickly run this court so the results are displayed on the supreme. Please see the difference between division and four division in terms off results for floor division, we don't have a dismal part, but for division we have decimal part Van we divide 27 by four. 20. 20 Order Of Major Arithmetic Operations In Python: value conduct arithmetic operation. You have to consider the order of arithmetic operators in fightin. Yes, I provided the order of major arithmetic operators Inp Iten From highest presidents to the loves presidents, you have to keep it in mind. Anything within the parentis is is completed first, After Prentice's, you have to consider exponent after that multiplication division More than this on floor division operators will be considered after these operators. You have to consider addition and subtraction operators. After all these art medical operators, you have to consider assignment Operator here, I hear provided some sample operations. I will also provide this sample cook in the first arithmetic operation, you have to consider the operation within the party on Texas because it says the highest presidents here. After that you have to consider multiplication operators. So the result for here is seven to buy, seven becomes 14 and finally the result for this arithmetic operation is assigned to this. We're able named result one In the second arithmetic operation, you have to first consider this multiplication operation on. Then you have to consider edition. So it becomes for plus five, which is equal toe for the third athletic operation, you have to first consider Dartmouth Inc between the parenthesis. So for here, the result is seven. After that, you have to consider this art medical operation, which is true to the power. Then it becomes four by seven on. Finally, the result becomes to any eight. Let's verify these results here, so we got the expected results. According Toa Harvey explained these operations here. 21. 21 Logical Operations in Python not, and, or: Inp Iten. There is also 1,000,000,000 data type. It is two states there through on force here, using a 1,000,000,000 data type, we will conduct a logical operations in fightin. Buyten's logical operators are political nuts, political and and logical, or let's start it. Logical March operator. The result off logical not operation is reverse states all its occurance. It means that if the state all ex is through, the result for not X operation will be false. If the states all ex laws false, the result for not ex political operation would be through. In this example initial states, all X is given is through in the following line. Its initial state will be displayed on the screen In the next line, the type or X will be also displayed on the screen which is bullion. Yet first logical not operation is conducted on X. Since the initial state off X is given is through the result off this logical not operation will be force done. The result off this logical not operation will be assigned to peaks. Finally, the final states all geeks we'll be displayed is force on The supreme is displayed here the initial state or eggs is displayed as through is reassigned. In the beginning, the type off peaks is displayed as bullion, and finally, the final state off X is displayed as force in other logical operation in Parton is for this political operation. If the states all all the opulence are through, the result will be true. Other vice the result will be forced in this example. State or X is through, uh, the state off. Why is through here? We conducted political on operation using X and y, so the result for this logical and operation will be through If you change Bonnell, these opulence cool. The result for this logical on operation becomes false for logical or operation in Parton views logical or operator, which is written with small characters to get this state as false. For the result off logical or operation, the state's off old or parents should be false. In this stable, we head to our parents which are X on y. The result will be a force for this logical or Operation X or y Onley Van states off Moto X and y our force for the wrist. The result Velveeta. In this example, the initial states off speaks on why are entered is force. So the result off this logical or operation will be force. If the change the state or one of these operations to through the result for this political or operation becomes through. 22. 22 Comparison Operations: to conduct comparison operations in Patton. The following comparison operators are used The results for comparison operations are in 1,000,000,000 type here. I will creep around this court to show the results. After that, I will provide the sample coat in the following takes tutorial with these explanations so you can't change the values Oh x and y in orderto observe the change in the results. The results are displayed on the supreme. If you although you know this part, you can skip the rest off. This lecture on you can continue to the next takes tutorial. But if you don't, it is okay. I have to explain everything run by one. That's why I provide this course to you. So one the value of X is three and the value off Why is for if you ask if X is equal toe by the result will before because three is not equal to fight you fast. If it is not equal toe, why The result will be true because three is not equal to for if ask if it is greater than why the result filled the force. Because three is not greater than for. If you ask x is Liston. Why? The result will be true because three is listening for he fast. If X is greater than or equal toe why the result will be forced. And if it ask if X is this done or equal toe fight, the result will be true. 23. 23 if Statement: conditional statements are very important in order to manage the program in fightin conditional statements are answered using if it if and as let's started. If, let's assume that we have some specific task on this task should be conducted Onley for some specific condition. Let's think very simple for the example. For example, if the brother off number is equal to one, we would like to display this message on the secret so we can implement it in Parton, using, if statement the first type if next the enter the condition. After the condition, we put column operators after the cologne operator, we answered the test, which is going to be conducted when the condition is through. You can also enter the condition within the practices in order to make your coat more readable. However, it is not mandatory so we can remove the parenthesis here. Let's go back to the example here We first answered it. I'm done. The answered the condition. This condition is a simple comparison operation. It's result will be true or false Hit. We are checking if develop off number is equal to one or not. If the value of number is one, we will display this message on the supreme since number is equal toe so it is not equal toe one. This message is not displayed on the supreme. Let's try it again, for number is equal to one. So the message is this plate on the screen, since the value for number is equal toe lunch. 24. 24 else Statement: Let's think that we need to conduct some task than other related conditions are force at that time. We need to use as a statement to answer as statement. We don't need to answer any condition. We simply write else off their else. We put colon operator after the cologne operator, we enter the task which is going to be conducted when other related conditions are force. For this example, let's say if the value oh number is not equal to one so the condition for if statement will be force in this case, we would like to display another message on the supreme. So Togo that we need to use else statement here. We simply entered us after s we put column operator after the column Operator. The answered quote part which will display another message on the supreme, is displayed on the supreme the condition for if statement is force. So the task bantered for else. Statement is executed and this message is displayed on the screen 25. 25 elif Statement: the answer conditional statements. We are not limited with if and else statements we can also use if statements views if statement to say, do that if this condition is true, um use else statement to say do that if all related conditions are force. So what happens then? We need to do something if other conditions are force, but some other condition is true at that time, we can use a live statement. Let's think it's very simple. Let's go big toe the example here We would like to display a message on the secret if the value for number is done. So to do that, we need to answer another condition. In orderto answer another condition we can use a if statement a live statement is similar. Toe if statement first v right a live after a live. The answer. The condition. After the condition, you put a colon operator after the column Operator. The answer. The task which is going to be conducted then another condition is through. For this example, let's assume the value for number is equal to 10. It did sign this condition will be force. However, this condition will be it through that for this court part will be executed on it will display this message on the secret since one of the conditions in this if it if US block he's through this part will not be conducted so Onley this message will be displayed on the supreme. In addition, we can hair multiple a live statement in the same block for different conditions. It's seen in this example since number is equal toe son, This condition, which is Britain under a leaf, is through. So this part is executed on this part. Displayed this message on the screen. Let's see what happens if number is equal toe 20. Since this condition is through based on the value of number, this court part is executed on this message is displayed on the screen. 26. 26 Indentations In Conditional Statements: in the previous examples the answered everything related to the conditional statements in the same line Have you been it is not prefer style Instead of this style it is better to answer The tests in the following lines is indented such as this one This one on this one is you see here the court became place complicated Please not this indentation in this line . And here and here This indented line really conducted on Lee ban the condition for if statements is through, this indented line will be conducted only then the condition for a live statement is through This indented line will be conducted Onley van the conditions written for if on if statements are force let's enter another line which is not indented so this line will be conducted independent from the conditional statements here Also we can answer multiple indented lines for the related conditional statements. When the number is equal toe 20 this part will be conducted because the conditions for if on a leaf will be force so automatically the task under else statement will be conducted Since there is no interruption here on this line is independent from any condition This message will be displayed on the screen as well. So we got the expected. There is up since the conditions, for if and if are false. The tasks under else statement are conducted on this line is conducted because it is independent from conditional statements here. Let's see what happens if number is equal to one since the condition off. If statement is true, the indented lines related if statement are executed. So it displayed one. And if on the supreme. Um, since this line is independent from any conditional statement about this line is also executed on this message is displayed on the supreme. Let's see what happens if number is equal to 10. So what we expect is that the indented lines related toe any statement today, executive and this line which is independent from any conditional statement here Toby executed. So this message, this message on this message will be displayed on the supreme. So we got the expected result after Iran sample code 27. 27 Identity Operators is, is not: family covered basic operations in fightin section we skip the details off identity and membership operators. Identity and membership operators are quickly mentioned within the reference document, which is named list for the order of operations in Patton in the basic operations in fightin Section. So in this lecture we will cover the identity operators in more details. And in the fall of English teacher, we are going to cover the membership operators in more detail. In fightin. There are two identity operators which are is and is not so. The identity operators in fightin are yes and is not. If the variables on both sides off is operator are pointing to the same object the result for the Operation Ville bitter other vice it will be force if the variables on both sides off is not. Operator are pointing to the same object. The result for that operation will be force other vice. It feels true. I will make it much easier to understand with this example. However, before I covered this example, let me quickly say that is operator checks. The identity also is not chicks. I danced about it works Ah, in opposite way off is so Let's just talk about is right now. So let me repeat it again. Is operator checks? The identity on it is different from equality operator because this one checks. The equality, however, is operator checks the island in this example. In the first line, I created Variable, which is C and I assigned a list to see the members off this list our von two and three. Similarly, I assigned a list to a also the members off this list our von two and three So you can see mm is equal toe. See, Have you ever A and C are not pointing to the same object, so value state or let's see value check. If is see the result for this operation will be forced because A and C are not pointing to the same object. So there is a field before Oliver A and C are equal. So result for this Operation Velveeta. However, we are not covering this one in the structure. We should focus on this part. This is just a show that I dancinto operator, is different from equal to operator since a is not see the result for this operation very bitter. So this is very simple to understand. Here we display the results for this operation so it will display through on the supreme. Let me quickly write it on. This will display the result for this operation on the output on the screen. With this line will be force on here With this line, we display the results for this operation on the supreme. So we will display to a A is equal to see however is not see in the third line I entered this court part which is be is equal to a with this line The also say that be is assigned with this list whose members are want two and three At the same time A and B are pointing to the same object again with this sign we entered B is equal to a By this way we also say that B and A are pointing to the same object. Since A and B are pointing to the same object. The result for this operation will be true because it says a is B. Since A and B are pointing to the same object a is B since a is b, there is out for this operation will be force because if we check if is not be, the result will be force. The result for this operation is displayed with this line. It will be through on the result for this operation is displayed with this line and it will be a force on the screen here I entered the result for these operations on here. I answered but will be displayed on the supreme. So this part and this will be displayed on the screen. This part on this will be displayed up on the supreme. It is not C is equal to troop. It is be is equal to true is not be is equal to force. It will be like that. Let me save and run this court also I will provide this sample could in the following takes tutorial actually on purpose. I will not provide it like the court in text. I will provide it like image because I want you to type by yourself in order to practice more So you will get the image version off this sample code and result in the following takes Tutorial is a document. And then you can riff it by yourself on the other hand, I would like you toe type by yourself to see the results. Okay, let's save and run this court file. Millions save on. Let's save it in his identity that people Or let's say I dented the sample that people and run it from around Morgan So is I mentioned. A is equal to see is through However it is c well before us because it is not see so is not see will be true Since a is B, it is be will be true because of it. This operation will before on this concept is very simple. This is the handled A lecture. Thanks for watching. 28. 28 Membership Operators — in, not in: in this nature ve vill cover membership operators in pie tsen membership operators are I mean nothing. The result for the operations which are conducted by using in or nothing operator can be true or false. Let me cover this lecture with this example. It will make everything much easier for you to understand. In the beginning, I created two variables. The first variable is a 2nd 1 is V is equal toe sling value, which is Titan B is equal to another sting value on it is burned fightin it is very simple . Let's start it in operators. If your parents on the left side off in operator is number off the appearance on the right side, the result for the operation will be true. So okay is you see here is number off B so the result for this operation will literally other vice. The result will be force. Let's see here it is asking if B is a member of a So since B is not a member of a, the result for this operation will be force in case of nothing. Operator, the result will the opposite all in operators. So since is number O b if he check if a not number of B, the result will be forced because A is member of B on dear ces B is not a member of a The result for this one be not in a Velveeta it and all this sample code I displayed these operations on the results on the supreme. So here a A and B on the result will be displayed on the Supreme eight. Nothing be on result toe will be displayed on the supreme and so on. Let me save and run this good since this is very simple for its understand I don't take your time very much on it. However, in case if you want to repeat it, I provide this sample code and the result his image in image for in the following takes tutorial is document so you can't practice by yourself. I provide the sample court is a major because I want you to type this quote by yourself. By this weight, you can understand better. Let's name this sample is membership sample that provide membership on the score sample that provide on Let's run it round round model. So we got the expected results is I describe when I was explaining the nature this is out of the lecture. Thanks for watching 29. 29 while Loop: in order to execute a set off court for several times, loops will be very useful. It will make many things easier for you if you use the loops correctly and efficiently. In real life, you will need to use the loops for many tasks in different fields, from scientific problems to automation tests. In this section, we will introduce the loops on in this lecture. We will start with violet via loop is usedto execute some court, part vile. The condition is true. In order to use the violet, you have the first right, vile. After that, you have to enter the condition after the condition, you have to put the colon operator after the colon operator, you have to enter the court, which will be executed. While the condition is true, Please, not this indented space here. Let's say you need to display the integer numbers from zero. So 100 so you can have many solutions for this problem. But one of the solutions for this problem is that you can implements some court using violence to display the integer numbers from 0 to 100. Let's see this example here. We have ever able named number on its initial valor is zero. And here we have of I look in each step off this violet, we display the value off number on the supreme. At the end of each step, we increased the value of number by one violent. The value off number is less than or equal to 100. This process will continue. Whenever the value of number exits 100 this condition will be a force. So this court part, we're not executed anymore. Let's see that by running this got is you can see here the integer numbers from zero toe 100 are displayed on the screen by using violet in this short coat. This is download election in the full of English teachers. We will discover more about loops in Parton. 30. 30 for Loop: in this lecture, we will quickly cover for look to provide the basic concept in the following sections we will use for loop while covering the more advanced concepts for the previous topics. So it is enough for enough. You understand the concept provided in this lecture in the previous lectures the use violence to repeat a sent off course, while the condition history we can also use for look for the similar tasks, however, it is better to consider a seconds. Then we use followed in the previous lecture, he wrote quote by using violence to display the integer numbers from 0 to 100. So let's implement the same thing here by using followed In this course, we are generating a sequence here on the members. Off this sequence are the integer numbers from 0 to 100 in the each step off this follow up . We are displaying the members off this sequence on the supreme. So let's explain, hardly used follow up in this Scott we first wrote for here. After that, they answered the but evil which is going to be used within the look on. This will be referring to the each member off this sequence. I'm done the answered in on here. We used range function in order to generate a sequence whose members will be the integer numbers from 0 to 100. After the range function, we put column operator in the following line, we entered court, which is going to be executed within the look, please, not this indented part here. It's explain. Harvey used range function in this court within the parenthesis old range function. The first answered the initial value, all the sequence, which is going to be zero. After that, the answered the final value plus one in orderto make sure that this final value will be the last element of this sequence. And finally we answered the step. Value is one which is the difference between the members off this sequence. Whose members are the integer numbers from 0 to 100. Please note that this brother is positive. So which is the increasing value between the major members off this sequence from 0 to 100 ? Let's run it to see it better. So we displayed the integer numbers from 0 to 100 by using for loop here. This is the end of the lecture in the following text historial or takes lecture. I will provide some explanations on some sample questions for you to practice. Done. You will understand the concept here much better. 31. 31 break, continue, pass Statements (Using In while Loop): in fightin in order to manage the loops. Continue brake on past statements are used. Continue statements is used to skip the remaining part off the current step off the vote. If some specific condition is true, big statements is used to terminate the book. If some specific condition is true, past statements means don't do anything. If some condition is true in this lecture, I will not spend time on past statements. I will explain, continue and break statements in more details. Let's see this court. Then there is no continue break or past statement is used in this court. Violence is used in order to display the integer numbers from time to zero. Let's run this court to see the result on the supreme it's seen on the Supreme. The integer numbers from town to zero are displayed here. Let's see. We should display the integer numbers from tanto zero excepto five, which means we need to skip to display five on the screen. We can't do that by using continue statements here. We simply say that if number is equal to fight, displaying, developed and continue to the next task or its relation or step. So we modified this court by answering if number is equal to five. Conte you. So let's round this court to see the results is seen here excepto five. All the integer numbers from tanto zero are displayed on the screen. Let's assume we need to turn NATO. If the number is equal to fight at that time, we can use break statement to do that. So if you modify this got here by saying if number is equal to fight, terminate the look so that used break statements here under the condition. Let's run this court to see the results. Since the book is terminated, if number is equal to fight, only the indigent numbers from 1 to 6 are displayed on the supreme. Let's just use past statements here to show that past means don't do anything if number is equal to fight, save and around this court to see there is up so nothing is done than this condition waas through here. So three integer numbers from 10 to 0 are displayed on the screen. This is down, though. The lecture in the following lecture we will use these statements in followed 32. 32 continue break pass Statements (Using for Loop): In the previous lecture, we used Violet to display the integer numbers from tanto zero. We also covered how to use continue Break past statements in the Violet. Let's really begin Harvey implement via Look in order to implement viol. Behave the first right, vile Next, the answer condition. And then we put Colon operated after the column operator, we write the task or tasks which is going to be executed. Vile. The condition is true. Please not this indentation here when we entered the task or casts in different lines or lines for the violence. So views this court in the previous lecture in orderto display the intelligent numbers from 10 to 0 by using violence. Let's review also Harvey implement for Look here we first right for next. The answer. The iterating variable. After that, be right in undone. The Enter the sequence. After the sequence, we put colon operator after the colon operated the answer. The task or tasks which are going to be executed in each step off. Four. Look, please, not this indented part here when they enter the task or tasks in different lines or lines than the implement for look, you feel implement for look in order to display the numbers from Kanto zero. We can use this court here by using range function. We generate a sequence. Its members are the integer numbers from tanto zero on each step off this look, we displayed the members off this sequence on the supreme here, range function is used to generate a sequence whose members are the integer numbers from 10 to 0 on this formal is entered toe display each member off this sequence on the supreme in the step off this look. So it is for number, which is the iterating variable in the sequence, I mean, and then here is that court which generates the sequence. And then he put colon operator find in this line. We display the members of the sequence, which is generated by using range function in the step off the follow up. Let's run this court to see the result. It's seen here. The integer numbers from town toe zero are displayed on the Supreme, similar to the example in the previous lecture. Let's say we should display the integer numbers from tanto zero on the screen except off five, which means we need to skip to display five on the supreme so similar to the example in the previous lecture. We can do that by using continue statement if number is equal to five, so keep displaying the value off number in this step. Let's save and run this go to see the results is you can see from the numbers on the supreme five is not displayed on the screen after the entered continue statement. In order to skip this step when the number is equal to fight, we can also use break statement in for Let's say we need to turn NATO. Look if number is equal toe fight so we have to answer this line here if number is equal to five. Break the look. We can also answer it like that in different lines, but it will be indented according toe. If yes, let's save and run this court to see the results. Since the book is terminated when the number is equal to five, only the integer numbers from Canto six are displayed on the screen. We can also use past statement in for on we are going to get The same result is we did in the example in the previous lecture. Let's run and see that. So all the members off the sequence generated by range function are displayed on the secret in which are the integer numbers from 10 to 0. This is Donald election in the following sections. We are going to use the loops in some examples, so we will have a porter knitted toe practice on C hard to use the books in action. 33. 33 How To Implement Infinite Loop Using while Loop: then we need to keep running some quote part continuously. Until some condition gets through. We can use infinitely. Let's think they ask the user to enter the password. So until the user enters the correct password, we will keep asking the user. So answer the past work on this. The user answers the correct password. This court part will be executed. We can use violet up in order to implement infinite look. It's seen in this example. In order to implement infinite look, we have to answer a condition which is always through to terminate the look we can use. Break statement is seen here. So until the user enters this correct password, this court will keep asking the user to enter the password van. The user enters the correct password here. This, via look will be terminated on this message. Access is granted will be displayed on the screen. Let's see that in this example. - Let's enter the correct password in this step is you have seen in this example until the user entered the correct password, it was continues to asked to enter the password van to user entered the correct password. This look is terminated on this message, which says Access is granted is displayed on the screen 34. 34 Review Of How We Used Python Functions: the previous sections. We already used part and functions. Also, we already know have to call or use function and how to enter arguments into the function. In the previous examples, views print function very often on the answered argument between the Prentice's or print function displayed on the secret we also covered have to enter ever able is argument to a function in pie Tonton. We also covered hard to use or a sign the returning value off function toe ever able in Piketon. We can also define new functions. Let's quickly covered it in the full of English teachers. 35. 35 How To Define & Call Function: Before we start this lecture, I need to say that starting from this section, we will start using the naming convention which was introduced in sections of We will enter the name so labels functions colossus on other I don't fires. It's shown in these examples here it is shown hard to define function in fightin we will not implement. Everything in one example is shown in this definition. People covered step by step in order to make it easier to understand since this definition could be a bit complicated. 40 In the beginning, let me into this this simplified definition Settle this one It Kendall this section We will have covered everything in this definition. But let's start with this one. In the beginning, you know, find a function. We use death. Cheever in fighting function book starts with this caper. After this, we have to answer the function name. After the function name, they have toe put opening on closing parenthesis. If it is needed to use arguments within the function, then we have to answer arguments. But if not, it is not mandatory to use arguments in the definition over the function. After the closing parenthesis, we have to put coal on a freighter after the colon operated. Enter the statement or statements which are going to be executed. One dysfunction is called Let's Start with this simple example. Assume that you need to implement a function which displays a message on the secret when it is cold. Let's say this messages Hello, so this function doesn't need in our human to be entered When we defined this function, we don't need to put in the referential name for an argument. It's up. Let's start implementing this function here. First we have to write this, which is the key work. Next, we have to enter the function name. Let's say say hello is the functionally Please, not it. We are using the naming convention, which was introduced in Section two. Next put Francis's after the put on this is puts colon operator here on Let's go on to you with the next line on, Please. No, this indentation Here. Here we can use print function, which will display the message on the supreme. Finally, the definition off the function is done, but not we need to call that function in order to execute it. Similar to Harvey called print function without argument. So enter the name off the function which we just defined here and put opening and closing. But on Texas here, with this court part, we are calling this function. Since we are working in the same file, we don't need to use in reference so we can direct there. Use the name of the function here. Let's save and around this court in order to see the results. So chemical the function here. This message is displayed on the screen. This is the end of the lecture. In the following nature's, we will cover more about functions in part. 36. 36 Functions With ArgumentsParameters: in this lecture, he will see how to use argument in the function. We will use the court in the example from the previous lectures. Let's modified escort to say hello by using your name, for example. Here I entered my name and I want this function to be modified in orderto this play. Hello. I'll pass on the secret to do that are here to use some argument for this function. It's seen in this definition, and please, not if you need to answer more than one argument. You have to separate the arguments with coma operators, So I put the arguments here. After that, I need to modify this part in orderto ed this argument into the message. Let's leave a space here to make the message look better and use in addition operated, So this part is modified. If you try to call this function without using, an argument is seen in this line. You will get your message because we are not using an argument to call this function. Let's see this error message on the supreme. Let's see what happens if they enter. This were able is arguments in this function called Finally, the message which is hello. Alper is displayed on the supreme. Please repeat this example by entering your name also in order to see the results. This is the handled election. In the next lecture we will cover the functions with default arguments. 37. 37 Functions With Default ArgumentParameter Values: In this lecture, we will cover part to define a function with default argument value. In the example from the previous lecture, we got your message. Family called the function without entering an argument in the function called. If you define the function, default arguments value we wouldn't get in error. Message is you can see from this sample function definition we need to assign initial value . So the argument. So let's do that here. Let's say your customer. So here, dear customer, is the initial rather off this argument in this function definition. Let's call this function again, we thought, using an argument in the function called since we didn't answer in argument in the function called the Output displayed on the secret is Hello, dear customer. Let's call this function by using this for able his argument in this function called since views this variable His argument in the function called the message displayed on the secret knees. Hello are part instead of Hello, dear customer, this is the handle Director. In the following lecture, we will cover home to define a function language defined idea fires in Parton 38. 38 Using Language Defined Identifier In Function — doc : in the reference documents about naming convention in fightin, it was stated that language defined Ideon fires starts with double underscores on and sweet double underscores. In this lecture, we will cover longer is defined ardent fires in function in the function definition began hunter function dog sitting. We can access that talk sitting by function. Name that double underscore dark double underscore. Let's quickly cover that in this example. So we are going to modify one of the previous examples the ducks drink will be string. Let's say this is an example, but in real life applications, you will need to enter something more related to the function. His let's call this language to find island fire in orderto call that you have to enter the function name Duck Double underscore Doug double underscore on Let's Displayed on the screen using print function on cold, that language to find. I don't fires in the print function so it is displayed on the supreme. This is down the road, a lecture. In the next lecture, we will use return in the function 39. 39 Returning Values — return: in this lecture, we will cover home to implement a function which returns have other. In order to do that, we will use return key, but assumed it. We need to implement a function which returns the submission off. Two arguments Here is a sample for that task. By using this Cheever, we started implementing this function we need This function is some parameters. There are two arguments which will be used within the function. These parameters are are gone on our to you can use different names. And here we put colon operators in the full of England assigned the submission off. These two arguments could a variable named result it and all of this function definition return the result by using return Cheever. So the definition off this function is done before we call this function here we created to save us number one and number two. Number one is equal to three and number two is equal to fight. And here we called this function we call some perimeters using number one and number two. His arguments, be it by using assignment operated the submission off number one and number two is assigned to the variable named submission because chemical dysfunction by using number one and number two is arguments the result for the submission off. These two arguments will return by dysfunction it We will display the results off this submission. So the submission off these two variables is returned by the function successfully On this sign this returning value to the variable named submission the value for submission is successful the displayed on the screen. 40. 40 Anonymous Functions Using lambda keyword — lambda: being Parton. We can also return value with anonymous functions implemented by using Lambda operators similar to the previous example. Let's implement a function which returns the submission or two arguments. Let's refer to this anonymous function. Is submission using Lambda keyboard? Create the anonymous function. Now the first write lambda. Next we need to enter. The arguments we can answer is many arguments is needed for this anonymous function. Since the implemented function, which returns the submission or two arguments, we just need to enter two arguments after the arguments put colon operators. And finally, we can enter the expression with dysfunction. We are going toe return the submission off two arguments. So the expression will be the submission off these two arguments. Let's display the submission or three and five using this anonymous function. So the submission off three and five is displayed on the secret, which was returned by this anonymous function. This is not all director. Let's discover more about Parton in the following lectures 41. 41 Classes Introduction: fighting is object oriented programming language. In this section, I will inter this object oriented programming with fightin. But before we start, I need to introduce some related terms. Let's start with a simple example. For example, Specific car can't represent an object. Let's say this specific car is your car, So this specific car has specific attributes and behaviors, such as specific make model year transmission type. Etcetera. Your car is unique, with its registration number and other attributes and behaviors. So we called your car is object card. In general terms, is it to us? Your car is object all the class named cut, so there are other objects off this class as well. On these objects are also unique, according to each other. For example, your car, your France car, your manager's car, your neighbor's car, another persons car. All are the objects off this class named Car. Let's review some introduction of definitions. Close is defined as a prototype object. For example, car in general terms, um, unique cars. Your car, your France car, your manager's car. Your neighbors got another person's cars. It's etcetera. Are objects off. This class method is the function which is defined within the class. On this metal can be called using that specific close or the object off that specific lis. You will understand this term with examples in the following lectures, but is a quick example. I assumed it. You define a function. Let's call it feel consumption, which computes the fuel consumption based on some parameters, and you define this function within the close member of Nicholas can be a middled or data member, which is defined and used within Nicholas. For example, make model year transmission side fuel consumption etcetera. Eustis is a specific realization off an object of a certain class. You'll understand better this term in the fall of English teachers as well. Another term is object. Object Is defined is a unique instance off a specific class on which is behaviours, data and state. For example, Yorker is an object off the class named Cash on the Lustre, which I would like to introduce in this lecture is the association in object oriented programming. His initiation means creation off instance. Office space for Nicholas. This is another lecture. At this point, you don't need to understand everything right away. Thanks for watching 42. 42 Creating Classes: in this section. Visual cover. How to create a close in order to create a close close keyboard is used after that close name is answered. Let's say close Name is card. Next, we have to put colon operator and we can go to the next line and please note the indentation. And please remember that indentation and column operator are very important in fightin is we did while covering the functions we can optionally answer documentations. Think next the construction can be entered. Constructor is also called his initialization metals. Obama creates an instant subject off the class. Initialization metal will be called in order to enter initialization method. We need to use the keyboard the next we should enter double underscore in it double unders . Next we put opening and closing Prentice's and we put column operator No. Between the parenthesis or initialization method, the required parameters will be answered. The first answer. South perimeter. Please note that so we'll be reference to the instance on this glass. Whenever you enter the initialization metal off the colas, your first parameter will be stuff. All the parameters will be a comma separated. Next the enter the perimeters which are needed for this class. Let's say make model and year are needed in this class. Within the initialization method, we have to answer says that's Parliament, sir is equal to Parliament. It will be liked it, Seth. That make is equal to make. So that model is equal to model says that here is equal to you. By these assignments, the new object will be instance she hated with these parameters. In the next lecture, we will see that family creates an object from discuss. These parameters will be answered between the parenthesis and late matter. France Function. Here it's feel bit displaying a message on the secret ban. An instance off the class he's created. So the message is that instance. Object off the classes created. Let's define another metal within this class here found. Let's say this metal will display the make model and year off the object to define this metal. We will be using this Hayward again. Let's name this metal. Is this plate parameters again? Opening and closing Prentice's on Colon operated between the portentous is we have to answer self in the following indented line. The answer, the court said, which will be executed van. This metal is called using print function First display that make please not that family displayed. We are calling the members by self that make next. Let's display the model in the next line. Let's display the year I made a mistake here. Well, it's this plea, this stink part We'll go. And here, please note. Harvey access the members within the class. We said self that make self that model self that here on also in orderto live one anti line . Let's answer, I'm to print function. Yes, that's it. Actually, this is enough to create a call us. We have to first enter class giver, and then we have to answer the name of the class. Next we put the Koran operator after that. Optionally the answer. The documentation for the class. If you don't need an explanation, you can remove this back next. We defined initialization method for this class. In order to do that, we first entered this Cavor. Next, the answers double underscored in it double underscores on. It is followed by opening on closing. Ferrante's is on colon operator. Between the parenthesis, we answered the parameters on the first part. Emitters should be Seth. In the next line we meet these assignments who is not self. That perimeters is equal to perimeter self thought. Another perimeter is equal. Toe that perimeter south that here is equal toe here. I entered this line optionally in order to show something in the next lecture. So you can enter this part as well. After the initialization method, I defined another method in order to give some example. And please not hardly access the members here by Seth that so the creation of the class is done. This is down over the lecture. In the next lecture, we will create an instance object for this class. 43. 43 Creating Object: In the previous lecture, I explained home to create a class in Parton with details, and in this lecture I will explain how to create an instance off the glass. Or you can call it how to create an object off the close Israel. In order to do that, we hear toe enter the object, name or instance, object name, and then we have to enter Assignments operated, and it is followed by class name opening and closing parenthesis on within the parenthesis . The answer. The perimeters van you create an instance object off the class initialization method will be called, so this method will be called on here. South Perimeter represents the instance off the object itself. So let's creates an object off this class. Let's see the object name is car one or you can say it like that is equal toe close name opening and closing parenthesis within the practices we have to enter the perimeters. Acceptable stuff. Let's see. Make is okay. Model is be, and year is 2000 and 14. In the previous lecture, we didn't say the quote in order to continue with this example in this lecture. So let's save and run this good to see. The result is displayed on the screen. An instance off the class named car is created. We entered this court part in order to display this message. Van on instance off this class is created, so this message is displayed on the secret. 44. 44 Accessing Members: In this lecture, we will cover how to access the members. Let's continue with the same example. Create another object here as well. On Let's call. The new object is Carter four. Carter. Let's say make is see Model is the on Dhere is 2000. In order to access the members by using object name, we have to first enter the object name and it is followed by that's aunt member name. We can also access the members by using class name here. But in this lecture we will be using object name in the following lecture. People cover also have to use class name to access the members. Let's call the metals named display perimeters for these two objects. Object name that number, name. If the member is and we have to put opening young closing parentis is let's so the same thing for Car two. Let's save and run this court to see the results. Let's cover what happened step by step. First, An instance object off the classes created, which is for carbon on. This message is displayed on the screen related toe, but we are covering in this lecture. This method is called by saying carbon that this play perimeters, so the parameters for carbon are displayed on the screen. And here, an instance object off the classes created for Carter. Next, this method is called for Carter, so the parameters for Carter are displayed on the secret. Let's access another member, which is not metal. Let's say we would like to display this member on the secret. Let's use print function. So we have to first enter the object name that number, name. Let's do the same thing for another object is displayed on the screen. We could access this member for both off Jace. By using this formula, we have to first enter object name. That's member name. This is the end of the lecture. In the following lecture, we will be covering class wearables in fightin 45. 45 Class Variable: in this lecture, people covered close for Ebel's in Parton. Please keep this term in your mind. Elsewhere. Able is shared by all the instances off the class and close were able is defined outside off the methods off the class. For this example, let's say we need to count the number of cars This name this were able is total number. So we first entered it within the class and outside of the metals off this class on. Let's say its initial value is zero. I need to increase this number within the initialization method because I ve never on instance off. This class is created. It feel the increased by one. But there's a small mistake which I made just now. In orderto access close. We're able. We have to first underclass name on then that after that we have to enter the class for able name. So we have to say also, let's modify this part. Let's see total number is whenever an instance off this class is created, this number will be increased by Von, and total number off card will be displayed on the secret so than the first instance off the classes created this number is increased by one. When the second instance off this class is created. This number this increased by VON on this message, is displayed on the screen. Let's do one more thing here instead of displaying the total number of car here for each creation or instance with this plate. Eight. The ant again he is the same formula card point. Or you can call it is that total number and let's save and run this court to see the result . So we just displayed one message because very, um off the print function from here Didn't this part? We are displaying the total number of cars by accessing this class for able. It's create, for instance, is for this example, so they see what happens. So Obama created, for instance, is off this class. The total number off the car is displayed as far on the secret. This is down the old election. In the following lecture, we will cover garbage collection in Parton 46. 46 Garbage Collection: in this lecture of evil quickly cover garbage collection in Parton for garbage collection. We need to structure in this lecture. People continue with the same court from the previous example similar to constructors. The structure is also defined with the function in special for to implement this structure , this keyboard is used on it is followed by double underscore that double underscore opening and causing parenthesis on a call an operator and here self is used. His parliament in the construction increased this number by VON Whenever an instance object off, this class is created. Let's reduce this number within the structures whenever an object off this class is removed . So whenever an object off this class is removed, this number will greedy aspira in orderto remove object that is used. Let's remove card foot on. Let's this place the number off the objects off this class before and after. Remove this object. So let's modify this part here. Okay, let's save and run this court to see the result. As expected, we hit four objects off this class before we removed car for after we removed car for the numbers has become three. Let me show you one more thing, kid. Let's try to access a member for car for after car for is removed. So let's remove this part on. Modify this spot as expected, We got error message because this object is already removed on this coat will not be working properly. It's seen from this result. Let's try to access a member for carbon instead of car for is seen from the result. This is access because residents from of this object in the school in conclusion we can use the structures in Parton is defined here on we can remove the objects are using them. This is the end of the lecture In the following nature, people cover inheritance in Parton. 47. 47 Inheritance: in this section, I will introduce inheritance in Parton. Inheritance is very important concept in object oriented programming. Yes. Little creating it close from the sea crash. We can derive a child. Kill us from a parent glass Hollywood, please keep that in mind. Child killers on parent class should be related. Parent class is also called a super class and child class can also be called as subclass on . In this lecture, we will be using these terms. The syntax for inheritance in Parton is very simple and it is provided here in orderto create a child. Close or sub colas behave to use Klasky Vert on it is followed by subclass name opening and closing parenthesis on colon operators. Between the parenthesis, we have to enter the super class name. In addition, in kites in a sub, colas can hear more than one super class a daytime. We have to enter the super closest one by one for the example. In this lecture, we will have it subclass with one super class. So let's remove this part for now. In the next line we need to enter the related courts is we did in the previous lectures toe great class. So that's going to you with the example in this example, we are creating two classes. The first class is named CART and let's that explaining this class first. Since this class is not subclass off Nicholas, we will be using the syntax for standard class creation. So we have to first enter colas. Cavor on it is followed by the class name, which is car, and then it is followed by colon operator. Next, we have to answer the related court for this class. I tried to keep this court very simple in order to explain this topic very clearly. So first I entered a class variable. Or you can call it as a tribute, Ezra. So I assigned a sitting rather to this river. It and I will try to access this from the object off subcultures. But let's stop here and discover the first glass first and next. I defined initialization method for this class is we did in the previous examples, but there's some small differences is read it before. In order to create an initialization method we have to use deaf giver on it is followed by a double underscore, innit? Double underscore on opening on closing parenthesis. You know, pretty here, the only parameter is self. So you create an instance off this class. We will not be entering any perimeter. It'll so it is enough for now. You will see later on. There is no assignment within this initialization, but I display a message on the supreme, which is that initialization metal off super class is called. This message will be displayed whenever innocents off this class is created. Next, I defines another method which is called super Method, and it's on The perimeter is self. They never This metal is called. This message will be displayed on the supreme metal off. Super class is called and finally this class is created. Let's cover the second class. In this example, we came to the most important part of this lecture. We are going to create a sop colas in parts and this subclass inherits attributes on methods off. It's super close. In this example, subclass is a luxurious car. It's super class is card, which means that luxurious card will inherit it Methods on attributes off card in order to create a subclass views class Cavor. And it is followed by subclass name, top class name in this example is luxurious car on. It is followed by opening on closing practices on colon operator. Between the parentheses, we entered the super class name for this. It's up close and super classes cut. Here we will enter the court whatever we need for this class. In the first line I created in others, plus what evil and I named it as substance, and I assigned some string rather to Arabia. Next, I defined an initialization method for this sub colas by using the giver on it is followed by a double underscore. In it double underscore opening and closing parenthesis and colon operators. Then I create an instance off this class I don't wanna need to enter in argument. So the only perimeter for this initialization metal is self. And here within this method, I put this code line which will display a message on the screen whenever an instance off. This class is created after this, I defines in other methods which will display a message on the screen whenever it is called . So we are done for this class creation as well. Let's continue with the court parts at the bottom in order to see the results In this part of the lecture we will be working with the object off this sub colas We first create an instance object off the subclass here. So instance name assignment operators on close name and we put opening and closing part artists Between the opening and closing parenthesis, we have to enter the required parameters. However, family defined the initialization metal off this subclass. The only parameter answered waas self so we don't enter any perimeter Bama create an instant subject here since we created an instance object off this sub colas This message will be displayed on the supreme next by using the object sub colas We are calling the metal which is defined. Didn't this super close Because of inheritance? It is possible So this message we'll be also displayed on the secret method or super class is called in the next line. We are accessing the viable which is answered within the super close by using the object off subclass here So this string value will be displayed on the screen. Israel, With these two lines off course, I'm trying to show that we can access a metal or a variable off super close by using the object off sockless in the full of England by using the object off subclass re axis the variable which is defined within the subclass. I'm done. We display the value off this way well on the screen. And finally we call the metal which is defined within the sub colas by using the object of circus so often this value dismisses really displayed on the screen since we created an instance object off this subclass. This message is displayed on the secret initialization metal off sub clauses called by using the object off subclass we called super method which is defined within typical us on Because of that, this message is displayed on the secret metal off super class is called Next Here we accessed the valuable which is entered within the super close on its brother is displayed on the supreme But notice he abused object Sockless is we can see from these two lines We cant access They're metal or a variable off super class by using the object off subclass. In this example, car is super close, luxurious car is so close and next we displayed the variable which is defined within the subclass and it is close. Were able off so close. Finally, we called the method which is defined within the subclass. And then we call death metal. This message is displayed on the secret This is handled election. In the fall of English years, we will discover more about fightin. 48. 48 Using Sub Class As Super Class: In the previous example luxurious car colas was subclass old car. In this lectures I will introduce Hoped to use a subclass is a super close off another class. In order to do that, we need to derive any of class from luxurious card. So by using Klasky Vert, we are creating a new class It is sub luxurious Scott on we are using luxurious car is super close For this new class found done, we define on initialization method for this new sub colas So the creation off the new subclass is done Call us glass name opening and closing parenthesis Super class name on Colin operators And it is followed by initialization method After we created this new soft class we create its instance Object here because of the definition off its initialization method We don't say it Enter in a perimeter here Since we created an instance off this noose Oculus This message will be displayed on the supreme next By using the object off this new subclass We are calling the methods off cars and luxurious cars. So this message and this message will be displayed is split on the supreme. We got successful results in conclusion we can use a sub. Colas is a super class off another close. So this is download election. In the following lectures, we will discover Parton more. 49. 49 Indexing: one recovered sittings in the previous sections. We didn't cover it in the tales in the section I will cover strings in more details in fightin indexing you can access on Element off the sitting with specific in this. For that, you have to first enter the I think, what Abel's name. It is followed by brackets opening on closing brackets between the brackets. You have to enter the next number. In this example, I access the number off the string variable whose index number is one, and I assigned this member to a and finally I display date member on the secret van recovered indexing the use of positive or negative index numbers. It's although the introduced. If you enter posted index numbers, you have to start from the left side and you have to start with zero. So if you say the index number for L, it will be zero, for it will be fun. It's going to use like that Hollywood. If you need to use negative index numbers, you have to start from the end, which means you have to start from the right site on. You have to start UIT minus one, So the index number minus one indicates this exclamation mark minus two indicates K minus three indicates See minus four indicates I minus five indicates you minus six indicates que on it cause like that. Since the index number one indicates e we are is signing e is sitting. So the variable named a with this line family displayed it value off a under secret. It will display a on the secret. Let's save and run this example. Let's name it is it's the our consternation or is three our count? One. It is like sittings quantification one. So if they are underscore, corn underscored one that people I Let's run it. So is this plate under supreme? Let's continue with more example for this lecture. Let's say you want to display the member whose index number is done. Let's save and run it So it is. Or let's say you want to display a member off this sitting with index number minus done, let's save it and run it. It is a church. Let's see, you want to display a member off this sitting with index number minus one. Let's save and run it So it is exclamation mark. If you use posted one instead of minus one. It feel the e. But if he enter zero, it will be out. Let's save and run it. So Al is displayed on the secret. I believe this example is enough for you to understand Indexing in settings This is the handled election. Thanks for watching. 50. 50 Slicing: In this lecture, I will introduce slicing with sittings in fightin. I assumed it. You need to access or you need to get some part off the sitting. It did sign. You can simply perform slicing in order to do that in order to perform slicing, you have to first enter the sitting very well name between the brackets you have to enter The slicing group slicing rule can contain the first index number since it and indicator which indicates the last index number to be included into the results. Let's say but before the example, let me say that here I have prepared some chart for positive on negative index numbers. In this lecture, I will refer toa this chart. When I explained the quote and when I explained the result okay, in this example, we have it sitting variable on it is named is very well on the value which we assigned to. That variable is learned part in quick exclamation mark If they are performing some slicing . So we entered two Colin operator turn colon operator von Between the brackets Andre assigned this result to a and finally we display the result on the supreme by this way that members off the sitting, the chart accessed by these index numbers in this slicing group will be displayed on the supreme. Let's see the answered. I liked it here. Value answer it. Year value entered the room you first enter, which is going to be included. First, which index number to be included first, so it is eggs. After that, you enter the column Afraid, sir, After this, you have entered indicator which indicates the last in this number to be included for the result. Generally, it is index number as well. After that, if you need, you have to enter the stick. However, between this one and step, you have to enter the colon. Operator. I also want to say that you have to enter these components that you need in the rule. You don't have to answer all of them. In this example, the index numbers, which are greater than or equal to X, which means which are greater than or equal toe to on which are Liston, by which means which are less than 10 will be included on the members off the sittings, which are pointed by the index numbers bill, is signed to a it aunt. They will be displayed on the secret. Is it sitting? So here it is done. Actually, not seven. Okay, so here let me run this court, you will see it better. Let's save it as it's they are gone toe that defy and then run it Ron Round model. So the the and treat like that let's shake from this chart. The last in this number which you entered Waas Ton Hollywood remember, which is pointed by tan, is not included in the result. As I stated before the index number to be included for the result should be Liston time. On the other hand, the members, which are pointed by the index numbers 23456789 are included for the result. So it is a are an suppose p like th in this example, since the step is fun, become ignore to aid the state so we can enter like that Israel. Let's save it differently. Let's say three that people I save on drunk, so we got the same result in conclusion. If the step number is one, you don't need to enter it as sly, single like you vomiting that you change the sit. What happens? Let's say three. It didn't. The result will be different. Save it differently and run it a space to are this plate Because the index number two appoints a the index number five points surface because two plus three is five. So index number five, which points supposed five plus three, which is the step, makes eight on eight points. T here. If he tried to use negative index number, we have a problem because do you have to enter the starting point here? Starting index is always included or starting group. So after two it cannot go to anywhere else because two and then each the last should be indicated by 10. It should be going up like it should be increasing, not produced by Vaughn. So two minus one makes one and it doesn't reached a time. Save it differently. Toe. See the result so nothing is displayed on the secret instead of it. If he entered it like done to to the member, which is pointed by index, number 10 will be included for the results. However, the member, which is pointed by index number two, will not be included Let's see that in the result say vis run it So gun points or nine points age eight points. T seven points vie six points, P five points space, four points and three points are. However, it is not displayed on the secret because it is pointed by two here. I also want to say that after this modification, so it becomes like that because it is the crazy stiff. It's not increasing step, and it becomes like that on the other hands. I recommend you to remove this step, to say the result. Let's see what happens if we don't enter the step here like that. Let's see with a different name. Let's if they are corn seven. That Levi run it than we didn't enter state. It assumed the entered move on so can doesn't go to Tan doesn't go through to so at the time, like can 11. But it doesn't reach three or something else like it goes up, but we needed to go. Tom. Because of this, it doesn't get any output. Basically, slicing it's sufferings or other sequential types can be learned by examples on by practicing here I'm trying to provide is more example is I can provide on Let's be provide some examples more actually. So let's use, Let's say, let's remove through as well and let's see what people's. Let's save it differently. Um, on the other hand, I want to let me remove this part because we don't need it anymore, because each time we don't need toe modify a freedom of it, so it will be fine. Let's save it, Ron Ron loaded. Okay, So value didn't enter anything it assumed you are entering. The step is Von and you didn't enter any last step indicator. Last index indicator Advance up to end. So 18 is included On Step is assumed is one so oh, and space Q u I c K exclamation mark are included, so it is very nice example for you to understand it. On the other hand, although Van V didn't enter, index number 18 exclamation mark is included in the result. What happens if he enter 18 is your gifts. Exclamation mark will not be included. Let's save it differently. Let's say it's their corn. Nine. So exclamation mark, which is pointed by index number 18 is not included in the results. Let's think differently. Let's assume it liked it. Let's see what happens. Save str kontan Grande Ronde Loaded at the time it assumed you are starting from the beginning. And the member which is indicated, which is pointed by in this number 18 is not include in the results. Let's see one more thing. Let's see what happens. Value answers, negative indexes. So let's answer it like that. We are using negative index number so minus 18 points with civil defense. So it assumed from the beginning to minus 18 it should be displayed. However, minus 18 is not included for the result. So the member, which is pointed by index number minus 18 is not displayed on the secret on Li L Capital later. Is this big on the supreme? Let's make it minus swan on. And yep, let's do it like that. It will be the last example because you can't practice by yourself to learn more. And I dont wanna waste your time on that very much because you can't practice slicing with sittings or other sequential types. Otherwise, like value votes. When you listen value, try to be careful about the definitions. It doesn't help you very much. you need to practice by yourself. This is just to show you have to conduct that slicing operations. Save is let's save it. As is the arc on 12 that if I run it, the expected result is except all exclamation mark. Everything will be displayed on the supreme, so learn python. Quick exclamation mark is pointed by minus one, so it is not displayed on the screen. This is the end of the lecture. Thanks for watching. 51. 51 Summation: in fightin. We can also perform multiplication on submission by using sittings. So here I provided an example. In this example, I'm going toe show how to perform submission on multiplication with drinks in Patton. In the beginning, off this court I assigned That's the thing. Bother to this variable. The variable name is is they are underscore var The value which I assigned to this variable is test aunt here I performed submission with this sitting So then I some test with value there is not space. The result for this submission operation will be like that test value on there is no space t and we are capital letters. In the following line, I displayed the operation on the results on the screen and finally here I perform multiplication with sitting in Parton, I multiply its they are by three. So the result for this multiplication will the test test test There's not supposed because the value of its there are is test decided in this line here. Also, I display the result for this multiplication operation with sitting and how it is conducted on the screen. Let me save and run this sample file say let's save it as this. They are corn tartine, that guy. So if you some taste and values strings, the result becomes this brother, If you multiply taste by three, the result will become like that. I think I need to show you one more thing Here, for example, I believe you recognize that so value used comma operated in the output it please. One empty space, basically the left. One space here, however, is you see, we have extra space in the spot. This is because of the coma operator. So if you want to make it more optimized in order to get a better output, you can't do that. And please consider value used coma within the print functions, practices in the output. It lives one empty space and then remove it and it is connected to come out. Okay, so we modified. Let's make this part of it better. So leave one space here between the multiplication operator and three. Let's save it is say this on this name It is. Is their corn 14 that Levi drums Ron murder. So we got better output like that, including collusion with Parton. By using sittings, you can also perform multiplication and submission easily. This is the end of the lecture. Thanks for watching 52. 52 Obtaining String From A Non String: In this picture I will cover have to obtain sittings from Nancy three brothers Litmus started is the art function. By using a star function you can't convert evaluate into sitting We generally use str for converting numeric brothers into sitting. Let's see is equal toe run on the type off A building obviously integer if you display its type by using print function between the parenthesis type between the parenthesis a So van Iran This good the type off A. We will be displayed as intention like Miss Save it Save ISS Yes, they are corn 15 that provide so type off A is intelligent is you see from the result on the supreme If you convert a in tow sitting by using a star function Let's do that. You have the first type str between the parliament This is we have to type a on Let's assign it to a as well Bambi, save this different This Avis Mr Khan sixth in Okay, say Ron Ron Moody. No, the type off a becomes sitting because the converted A in considering because be converted a into sitting on the assigned the result toe A in this life. So please note. Date. After we converted the value off eight to sitting, they signed the result toe A. Because of it, the type of a becomes sitting display the type of eight in this line. We got this outlook. Let me provide conclusion for this part off the lecture By using a star function. We can't convert the type off the value, the influence sitting. Let's country of it. Join in this example by using joint, we are going toe build up is sitting from a list whose members are sitting. To do that, you have to first enter something value, which is going to be inserted between the elements off the list. After this, you have to answer, That's it is followed by joint, so you have to type join after that between the parenthesis, you have to enter the listening. Let's enter some list here. Least one is equal toe. Let's see with I don't live in space on here. Let's say I am learning fightin now we can use join. We have to first enter sitting value, which is going to be inserted between the members off the list. Let's insert anticipates, So leave a space after that put that after that type. Join between the parenthesis. Enter the listening, which is list one. That's it. No, we can assign this result to another variable. Let's name it is output. Str by using parent function. Let's display output. It's they are on the supreme so type print between the parenthesis. Enter it now. We can save this example differently. Safe is a stark on 17 stock PV. Let's run it run round model. So I am learning. Parton is displayed on The Supreme is sitting. Let me show you one more example instead of space, let's type underscore. So let's save it different this save ISS. It's stuck on 18 That device run downloaded. After this modification between the members off the list, underscore is inserted. So this is the output and we generated. It's a drink value. By using join in conclusion. By using join, we can generate a sitting brother from a list. This is the end of the lecture. Thanks for watching 53. 53 Membership Operations With Strings: in Crichton. You can also perform membership operations with sittings using in on nothing operators. Since we only recovered membership operators in this lecture, I will just provide quick example. Let's say we have to vary vous and we are going to assign Sitting brothers these variables . Let's see, it is equal toe. Piketon on B is equal toe Learn. Fighting is you can clearly see we can see huh in B because the Velux for A is a member of the value for B. Now let's perform membership operations using in on nothing. Operations on A and B aunt display the results for these operations using parent function. So we are going to enter the operations between the parenthesis open and function. So let's first test a in B in the following line. Let's say parents, if a is not a member of B, so we have to say not in B on. Also, let's perform these operations like that, I say, if b in a on if be not in a let's save and around this example quickly. Yes, they are corn 19 that people run it fightin is Mambro learned fightin Also learn. Fightin is not Mambro fightin. Based on this information, the result for this operation a in B will be true for this operation which is a nothing be will be force for his operation be in a is force and for be not in a Villager since really the covered Bamber ship operations. Before I didn't go into details about membership operations. I just provided this simple example. This is the end of the lecture. Thanks for watching. 54. 54 String Methods: in fightin There are several sitting Vettel's Have you heard we are going to cover some important sitting metals in this picture? Let's say we have ever able which is named Bar on this sign is think follow to this variable the street value his upper case and lower case characters. In order to use sitting metals, you have to first enter the sitting brother or stink variable After this you have to enter that on. It is followed by sitting metals. I entered this part but in the port on this is off the print function In order to display the results right away By using title method, we can make the first leader off each vert in the string of other upper case and the rest of the leaders will be lower case. Let me save and around this court save Ron Ron loaded, As you see here, the first letter for each word in the sitting for evil. I think father becomes uppercase. The rest off the leaders are lower case. I believe I need to make it clear that after we perform this, something may coat on this stink variable which is named var the value Oh, var will not change So the value off of our will not change. Please keep this in mind on Let me show that as well. By using print function. Let's say periods between the parliament. This is type Let's save and run. It is you can see here We didn't change anything on the value. Oh, what in orderto change the value of our You have to assign this one. Let me do that Two large again Let's run it first, save Andra. So this is very important Not we can also make lower case letters to upper case on upper case letters to lower case. In order to do that, we use that case metal here are used swept case metals for this variable which is named bar . And I assigned the result to the very beginning It don't I displayed it value off the valuable Let me save. And around this court se vis is there are 22 Ron Ron Moody. So is you can see here upper case letters become lower case letters on lover case leaders become upper cases. Let's country of its upper metals views upper metal in orderto get all the letters off the string value. Uppercase. So first I entered the I think rather toe variable here I performed the sitting metal. After I performed the string metal on the variable, I assigned the result who were able again. By this way, value off the variable will be modified. Darfur. The only display the volume off the variable on the supreme people get the modified version . Let's do that file safe, Ron Ron Moody is You can see here all the leaders off the value off the variable becomes uppercase letters. Similarly, by using lover method for the variable, you can make all the letters lower case. Let's save and around this court see this. It's the arc on 23 on Ron Ron Moody. So all the leaders become lower case by using capitalized metals. You can make the first letter in the stink variable or the value off the stink Variable capital letter or opportunities later, the rest of the letters will become lower case letters. Let me show that visually say, this is there are 24 run, so the first letter off the value off the variable becomes uppercase leader. The rest off the leaders are lower case that I think this is enough for you to start using sting metals in fightin. This is the end of the lecture. Thanks for watching. 55. 55 Backslash: values Backslash Inp Iten You must be careful. You will be generally using beg Slash to enter The director is sitting. Let's start with very simple example in this lecture. Let's say the directory you enter is sitting is See Colin Operator beg slash my file that you want to display this path. It will work properly. It is fine, but I will show the problematic part in the following example, Let's start with a simple and non problematic one. Let's name it is str calm 20 five that Levi run it. It is this plate profile. It is fine, but what happens if it was a new file? Value? Answer is like that on If it is new file or it starts with an after the banks a lodge in any parents off the path you answer, It won't get displayed properly because Inp Iten backslash on means new line. Let's save it differently to see the results turned. Six. Run it so this little displaying its liked it its first displayed C and Colin operator after they it skipped new line on it skipped to display baked slush and and it displayed you fire. So it's not what you want in order to fix it? Whenever you need to use backslash, you always answer double backslash. That's it, then the Do it like that. It's real, the fixed so it is displayed properly. On the other hand, you could do one more thing instead of entering double backslash you could type are just before you enter the stink father. So let's save and see the results se vis. It's they are content. Eight that be like Run it. So by using our just before you enter the sitting brother, you can get the proper display on the screen. This is the handled election. Thanks for watching. 56. 56 Entering Quotation Mark Within A String Value: in this section, I will explain how to use quotation marks within the sitting value value. Enter a string value you have to frame it with quotation marks is recovered in the previous lectures. If you also need to enter quotation marks within this string, brother, you have to use a different type of quotation mark rather than the one which you used in order to frame that string. Father. Let's see. A is equal toe is think value, which is I am learning fightin if I need toe used quotation mark here in order to frame learning here, I need to use different type of quotation marks. Let's first see what happens if I try to use double court in order to frame learning within this. Think of other. Let's save on around this court first, save regards. Error message, syntax enter. It says invalid syntax. We can fix this problem in a different face if you use single court in order to frame there value. We can fix this problem and let me display the value of a on the screen by using print function File. Say this. Is there Khan, 30 that provide Iran so it works without any problem. Also, we got learning framed of it, double quotes. You can also use a double quote in order to frame that think value At the time you needed to use single court in order to frame the learning. It's save it differently. File savers is their corn tortilla von the people I run Grandma didn't so we didn't save any problem again. But we got learning is framed with single courts. If you need toe, use double court in order to frame the sitting brother. And in order to frame that part within this string value, let's see, we frame this string value. I am learning fightin with double course on assumed it. We also need the frame learning with level courts at that time just before the quotation mark. We have to answer backslash and here is well, so problem will be solved by this way as well file See this? This their con 32 John ground model. So we didn't save any problem than the around the court. Also, by using a backslash, we are able to use double court in order to frame the string value on in orderto use double could. Didn't this sitting brother, this is the end of the lecture. Thanks for watching 57. 57 List Quick Review: Since you're already covered enough lectures in this course you must be family. Aerate the terms, so I will continue with very quick examples to cover new metals on lists in Parton, Hollywood. Let me quickly start by repeating the list. This is very basic list example. The members off the list are entered. Is comma separated within the brackets, and the name of the list is test, so this is hardly enter the list with its members. Let's review indexing by indexing. You can access a specific number off the list so it will help you very much Value code for more space vehicles With postive indexing, you have to start from the left, so you have to start from here and you have to start for the index numbers with zero for each member. Then you go right. You have to increase the index number by one. So the first member off the list is pointed by index number zero. The second member off the list is appointed by the index number one on here. The fifth number off the list is pointed by the index number for Let's explain it better for postive index numbers. I assumed it The list has on members at the time. The first member off the list is pointed by index Number zero fund. The last member off the list is pointed by in this number on minus one. In that case, for the list, which is named Taste, the first member off the list is pointed by index number zero bend. The last number off the list is pointed by index number for which is on minus 15 minus one is equal toe for If you use negative index numbers at that time, you have to start from the last member and you have to start using minus one is index numbers where you go left. You have to decrease the in this number by fun. At that time, let me quickly summarize it for negative index numbers, again assumed it the least, his on members. So value use negative index numbers. The last member off the list is pointed by in this number minus one funds. The first member off the list is pointed by in this number minus on. Since this list, which is test his five members, its first member is pointed by index number minus five and it's last member is pointed by index number minus one. No, I am going to display the members off the list with the corresponding positive and negative index numbers. And here I used violets in order to display their members off the list on the index numbers . So in the first via Look, I used postive index numbers in the second via Look, I used negative index numbers. I separated them into two loops in order to provide better display because it did them. You can understand it better between the violets I also displayed, if he starts on the secret in order to separate the results as well. So let me go back. So in this explanation is you can understand. I refer to the land off the list. So they assumed the list has on members, which means the length off the list is an. In order to learn the length off a sequential data, we can use land function. So instead of working manually, I'm recommending you to use functions. Try to quote more dynamic because in real life you cannot know the length off the data. Try to be more adaptive for the real world applications here by using land function. I got the blanked off the lift on. I assigned the result. So the variable which I named length here for postive index numbers, I will start for the first member off the list. At that time, I have to starts the index number with zero because of it, initial value for positive index is zero for negative index numbers. I start indexing from the last member off the list. Because of this, I have to start indexing by starting with minus one. So the initial value off negative index is equal to minus one. Okay, no, we can start for this via look, using postive index here basically in each step off the violet, I will display there in this number on a corresponding number off the list on the supreme. It is very simple. However, I have to enter some condition here. So this via look should vert for some condition. If the initial value for in the postive index's zero I have to enter the condition, so is you can understand here all the positive index numbers are based on the length off the list. Because of that, I have to say viol postive index is Liston. The length perform the quote, but within the violet, So here, for each step we display there in the X number postive index number and the corresponding member off the list. At the end of each step, I increase the positive index. But even in order to do that, you can do it. Liked it postive index plus equal one or you can't simples e postive index assignment operator posted index placement. It depends on you. And here, after all the members off the list are displayed with the corresponding postal index numbers, I display a bunch of starts on the Supreme in order to separate the results. After that, I implemented another via look with negative index, and here I display the lists members by using negative index numbers. So the initial value for negative indexes minus one on in each step we have to reduce it by one is I did here negative in days, minus equal one. Or you can enter it like that as well. Negative index is equal to negative index minus one front. Yes, before this line, I displayed there members off the list by using negative index number, but I have to explain this, but is you can see from here and here all the negative index numbers are greater than minus one minus. And which means if you consider this list minus one minus five means minus six. So all the negative index numbers for this list are greater than minus six because of it. Here I entered. The condition is vile. Negative index is greater than minus one minus length. Pat formed it. Quote part within the violet. It is that simple. If you missed any part in this video, please pause it on view of the court. Let me save on Randy Scott. Fine. Safe. Let's say like this country ation one. We can't simply say list. Underscore corn underscore. Want that? Provide, save, run around murder. So let me show. That is you can't see here. We got the expected results. So by using postive index numbers here on by using negative index numbers when we started with minus run for negative index numbers. So it is like opposite order off the years old posted index numbers. So here until now, we just reviewed the lists in Parton and I introduced another new function in the structure , which is land function. This is the end of the lecture. Let's go on to get the new functions in the following pictures. Thanks for watching. 58. 58 Slicing: in this lecture, I will quickly introduce slicing with lists. Inp Iten Since I already introduced slicing for the sittings, I will not go into the details about slicing in this picture. Let's go on to you with the same list. So this is the list which were used in the previous lecture. Very perform slicing for a list. We have the first enter the list name. After this. Between the brackets, we have to enter the perimeters for start stop on a stick. Please note that all the parameters are separated by colon operator. Although there are three perimeters in this definition, you don't need to enter all these three parameters. You have to answer what you need. That's it. Note that the member, which is pointed by the stop perimeter, will not be included in the result. So let's cover it with very simple examples I performed. The slicing between the parent is all the print function in order to display the results right of it. So these are the results for the first example between the brackets. I entered one colon operator and three, so the first part emitter is start, which is Von. After that, Colin operator is enters is shown here. Next perimeter is stopped. Perimeter says state is not entered here. Step is fun. Which means the members, which are appointed by index number von Rampollas one makes two since three is entered is the stuff perimeter. We are not going to include the member, which is pointed by the stop perimeter. We are not gonna write it here. So the members, which are pointed by index number one on index number two, will be in the result. So by index number one three is pointed, and by index number two, one is pointed. So the result is three and one if you need. I can also write down the index numbers here for you to see easily. Okay, Lets call aunt out. So these are the positive index numbers, So we are good. In the second example between the brackets I answered column operator, and three. Since I didn't enter anything before this column, Operator, you have to understand it. You have to include the members off the list, starting from the beginning onto Very have to stop, actually. So let's see that on stop perimeter is entered is three and state is one because there's no step perimeter is entered. So the member, which is pointed by index number zero, is included. Zero plus one makes one the member, which is pointed by in this number one is included. One plus one makes two. The member, which is pointed by index number two, is included. Two plus one makes three. However, stop perimeter is entered is three. So we cannot include the member, which is pointed by stop perimeter. So the index numbers 01 and two points five three and von. So this is the result in the turret example between the brackets I entered minus one, and Colin Operator. So there's no stop perimeter or stay perimeter is entered. Then there is no stop. Perimeter is entered after the column. Operator, you have to include that last perimeter Israel. So you have entered after and so this is the start part emitter. So you have to start with the member, which is pointed by this index number. So it is to, since there's no in other member after two, the result is too. In the fourth example, I entered colon operator minus one, so stop perimeter is minus one. Since there is no state perimeter which is accepted is one. Also, since there is no perimeter which is entered before the colon operator, you have to understand that you have tow it the members off the list starting from the first member until you have to stop. So we have to start fit. Let me write it down for negative in days numbers very quickly. So the index number five minus five plus one minus four and minus four plus one Makes it minus three minus three plus one minus two minus two plus one makes minus one. However, stop perimeter is entered is minus one. So we don't include the member, which is pointed by minus one. The result real consists off the members off the list, which are pointed by the index numbers minus five minus four minus three and minus two, which are 5314 So this is the result. This is the fifth example. Please see, the difference here in the fourth example to was not included in the 50 example I entered minus two on Colin Operator. So minor stories start perimeter on since there is no perimeter entered after colon operator, you have to understand you. Should it? The members off this list until the end, so Aunt will be included as well. The last member to be included, Ezra Vomits, started minus two on Step is one as well. Let's keep this in mind because we didn't enter in state here. Darfur. In the result, the members off the list will be included, which are pointed by in this number minus toe minus two plus one makes minus von So the result will consist off the members appointed by the index numbers minus two and minus one , which are four and two. Finally, behave the last example within the bracket. I just type colon operator, which means all the members will be included in the result. As you can see here, I wish you understand everything very clearly. In case if any person didn't watch the previous videos, I just gave very simple explanations about slicing and about the least as well. But I try to keep them very short and very simple. I wish you understand everything. These are very simple and basic examples which you can understand easily on which you can apply for more complex cases, says Well, So when you understand the simple you can I play it for the complex cases. This is the end of the lecture. Thanks for watching. 59. 59 None & Empty Lists: in this lecture, I will introduce have to enter ANTA list and how to book a room in the list for the elements. First, start with analysts. You can enter amped a list by not entering anything within the brackets. So is you can't see here. I create a list which is named ANTA list. You can enter any name you want. I entered the assignment operator. After that, I entered the brackets, but within the brackets, I don't enter any data. So it's on anti list. There is nothing entered beef in the brackets. Next, I will introduce Harto Book Room within the list for the elements in orderto heavy list, which is room for a specific number of elements. You have to type none between the brackets as many rooms is you need here in order to book room for five elements. Didn't this list I typed none 45 times. I also separated them by using comma. So these are the terms I needed toe Explain in this course, in case if you need them in the future, they are over the introduced in this lecture. This is an old election. Thanks for watching 60. 60 Summation & Multiplication: In this picture, I will introduce how to read lists on how to perform multiplication violists in fighting. We can also ate lists and we can also perform multiplication with the lists. In the first example, I will show how to read them here I entered two lists Taste one and Chester here I ended this one and taste too and I assigned the result Result at results at will be vandalised on it will consist off the members or test one and test the result. Its members will be like that. The members of the first appearance will be followed by the members off the second apparent . So these are 53 Von on one for two. If I performed the addition like that, it will be, Let's say results to is equal toe faced too. Plus this one at that time results, it too will be like that. It's will be ligament. Write it down. Run for to These are the members off The first opened in this operation and they are gonna be followed by the members off the second operas. 531 Let me write it down five, three lunch. Let me displayed on the screen as well by using print function in the parented. So the print function I entered the name order new list. Okay, so it is that simple. We can also perform multiplication by using the lists. If you perform multiplication off test one by two. These are the members off. This one on is you can see here after I performed multiplication off this one by two I assigned the result toe result more so the results will be 531 531 It repeats the members off the or parent is meaning is the multi playing apparent. So I enter to ITV elevated two times. If I entered three blatant do that again. So if I multiply by three, it's another name to So the members result Move on their score toe will be 531531 five three Lunch. Let's displayed on the screen as well. By using the parent function result More so that's it so important. We can also add lists on the vehicle supplier for multiplication with the lists. Let me save on drowned this court file se list corn underscored three that people I saved Ron Ron. Murder is you can see here we got the expected results. So for results at these are the members or the first up around. And these are the members of the second operation. So here the first operate waas taste one and second different was face to And here these are the members of the first a friend. But in this case, the first operate Waas face toe. And these are the members of the second different in this case, the second different bus taste one for the multiplication. The members off this one are riveted by two times because stop a runt was to. And here the members of this one are repeated by three times because the multiplying opened last three. This is down though the lecture Thanks for watching. 61. 61 min(), max(), len() Functions: in this picture, I will introduce Parton's Mean Max and land functions to use for the lists. We can simply use mean max and land functions with the lists in fightin. Then we used them with the lists. Mean function. I will return the member, which is the minimum in the lists. Max Function, Village Zone The member, which is the maximum in the list land function. Return how many numbers the list has in this example. Let's use the full of English. The name of the list is test on. Its members are seven three von for two on this list obviously has five members that me use these functions with this list I entered this name between the parentis is off these functions. So the name off the list will be perimeter for the functions. In this example, I have three new variables. Minimum maximum and length minimum is equal toe mean between the parenthesis tests. So minimum for this example Will the von maximum is equal to the maximum value in this list , and it will be equal toe seven and the line will be equal to the ranks off this list. So land function returns. How many members. The list is the least has five members. The result for lank vilified? Let's display the results to confirm the expected values here by using print function, I first display minimum next maximum on. Finally, I display length. Let's save. And around this court, save with corn for that Levi run from Mother is you see here, the minimum in the list is one. The maximum is seven. On the length off the list is five. We got the expected results. This is the end of the lecture. Thanks for watching. 62. 62 list() Function: in this lecture, I will introduce list function, so let me type it here. By using this function, we can simply opt in, at least from string brother. In this example, I will use this function in order to get a list by using it's think value his input. So let me start with the example. Then you will understand it easily. First I answer is thinking variable. Let me name it as a test and it's say it is equal toe my global window that in four by David. This is the website where you can find some information about my courses. It would be me next. Let me type for another variable on Let's name it is taste list which will be equal toe. A list on that list will obtain with list function. So I type this function fund the perimeter for this function Velvet test. This is the valuable whose value is a sitting in the following lines. Let me display the value for test and test list on the supreme, so I will use print function. This will display my global window dotting for on the screen on a blatant display. The value or test this on the screen as well. On the output for that will be the least version or this input. So it feels a bit long. So each character off the stream will become a member off the list. So let me show it very quickly. My global window that in for sometimes you need to convert a sitting into a list in order to detect something, but it will be a bit different from that. But this lecture is kind of introduction. Then you will have some kind of understanding by this lecture. Okay? No. Late middle. One more thing Here, let me display there types on the screen, Ezra. So here I will display the type of test on it and I will display the type of test list. So the output for type test will be This one class is they are. So since it is sitting, this is the output van we display. The type of test on the output will be class list since test. This is a list family display. The type of test lists. The output will be class list. Let me save on around this example. In order to verify the result file say, Let's save it as please corn five that provide run around model So we got they expect results. The values or test on tasteless are displayed on the screen. They're types are also displayed on the secret. The type of test is sitting the type of test. This is a list in conclusion. In this example. By using list function, we simply obtained the list version off the string value. Also, please note that after we performed list function on taste, each character, all the test has become a number off test this. I think you can see that clearly. So this is a test. This is a test list on each character or tests has become a number off test list. This is the end of the lecture. Thanks for watching. 63. 63 Membership Operations: in this lecture, I will perform membership operations for the lists. In Patton there are two operators for membership operations in Patton which are in and nothing here. I entered a variable, which is this? I signed at least toe this variable. So the members of the lists are here. It is four members. In the beginning, I will display the members off the list. After this, I check if four is number off test by typing for in test. Since four is number of test, the result for this operation will be true. Output will be through and this message will be displayed like that on the secret result for for in test through. After this, I performed another number ship operation by using nothing. Operator, it shakes if 54 is not a member off test. Since 54 is a number off test, the result will be force the message on the secret and building result for 54 not in test force. Let me save and around this court in order to verify the result. Fire save. Let's save it as least corn. Six. That Levi run Ron loaded. So the list which is named test is this one for his member of test. So for in test results is through. 54 is mum Borough test on 54 Not in test operation results is force. The results are hardly expected. In conclusion, you can also perform number ship operations for lists in fightin the operators to perform membership operations are in and nothing operators. This is the end of the lecture. Thanks for watching. 64. 64 Assigning Slices Of The List To Another List: in this section, I will show how to assign the slices off the lists. Here. I performed it for one list. So in the beginning I have vandalised, which is named test on these are its members. I also display this list on the Supreme. After this, I signed the slice off this list to a new list so we can't simply assign a part of a list to another list. So here this is a new list, which is named new Test. On This is the list which we entered in the beginning, which is named Test Starting from the member, which is pointed by index number one. They are going toe. Assign the members off, test to noticed after assigning slice off taste. New test will become like that. Let me show that here. So we are going to start with the member, which is pointed by index number von. So it is for 879 and 62. That's it. Let's verify the result File save. Let's name it is least corn. Seven. That PV save run round model test is 54 for 879. 62. Okay. It was in the beginning after a signing slice off test new test is for 879 on 62 so the results are hardly expect. In conclusion, we can simply assign a part of a list toe. Another list. This is handled election. Thanks for watching. 65. 65 Assigning To Slice Of A List: we can also a sign at least two a part off another list. Let's perform it here. In the beginning we have a list which is named Test One and these are its members. We also display taste ones members on the Supreme. We also have another list which is named taste too. Its numbers are new. New new new in orderto see the result better. I entered its members like that. This perform is signing toe slice off a list Here I entered this good which is this one? Between the brackets I answered one colon operated is equal toe tester starting from very the index number one points in this one The members taste one will be the members Oak tester. If you want to see it much better, I can't show it here This is the number off this one appointed by index number zero Nothing happens today After that. This is pointed by index number one Starting from here, these members off tester will be assigned to taste one also we have bomber member here because here in the beginning we hit four members after the first member created for members becomes five Tous one his five members after this Simon eight. The end. I displayed it. Members off taste one on the secret. Let's save And around this court in order to see the results safe. Its name it ISS least comb eight Strong. Ron loaded. Okay, we got the expected result. Starting from their index number one points the new members or this one becomes the members off test two. So new new on deviated Another new. Here, let me show you another thing here as well, if this to his two members on which our new new on if he performed the same quote here, taste one between the brackets. Van Hollen operator is equal to taste it at that time. Taste one. We'll have three members because after the first member, these members will be assigned toe taste one. So it becomes one plus 23 Let me show that fire se vis its name it is. Please call nine that Levi save Ron Ron loaded. Okay. After repair for this court, it becomes 54 new new. That's it on. And let me show you another thing is wrong. Let's say it is again new new and I forgot it. Quotation marks? Yes, it is fine. And instead of that, let me type here like that in this number three points. 62. However, this is stopped perimeter. Let's save it by savers file say, vis its name is this content that save run? Grandma did. Okay, so what you see here is a bit interesting because which means that starting from there in the X number one points it or you can say, insert these members or taste into the list end, keep the member, which is pointed by index number three is this. So it will become like that 54 new new new new 62 by this faith, this one. His six members after we perform this court part, I think we showed enough about that. Yes. So, in conclusion, we can simply a sign they leased to a part off another list. This is the end of the lecture. Thanks for watching 66. 66 Deleting And Modifying The List Members: in this lecture, I will show how to delete on change the member of a list. In the beginning, I answered, at least which is named test on These are its members. It also his for members, is you can see here, aunt. Here I display the members off this list on the screen. I also the one empty line. After I displayed the members of the list here, I displayed a message on I wanna stated here again, Don't forget that the lists are mutable so we can modify them. Let's start with how to delete a member or the list in orderto get a member off the list. We can use that statement. So let's remove the member off tests, which is pointed by in this number minus one. So in this number minus one points this one. In order to do that, we have the first answer the Dallas statement. So type down after that live space. Next, enter the this name between the brackets, enter the index number. So after dilating the last member off test, we are going to get some output. Lick mitt, Write it down here. So it's feel the like that. Okay, here. As I said before, We can also change the list elements after accessing them by index. So let's cheese it member, which is pointed by in this number zero. So instead of 54 I make it. It's a string value, which is is modified. Then I displayed a new virginal test I entered. This message tests this member and it will display the members off the test. But the modified one will Discipline is is modified. Let's save and around this example To see the results file save, let's name it is list corn 11 that Levi save Ron Ron model. Okay, so test in the beginning is like that It is four members. So the message is again. Don't forget that the lists are mutable so we can modify them after the letting the last member off test. The last number is not here anymore. We also modified the list. So after the modification, the first member off the list becomes is modified. In conclusion, we can simply do it or change the member of a list. This is the end of the lecture. Thanks for watching 67. 67 List Methods: In this lecture, I will introduce a pant Cohn's extend index reverse sort and finally clear metals for the lists. Inp Iten In the beginning, off this sample code, I answer a list which is named test on its members are for 5127 I also displayed the numbers off this list on the supreme. In general, the user metals is like that. You have to first enter the this name. It is followed by that. Next you have to enter the metal name. You have to use apparatuses if you need. Between the portentous is you have to enter the perimeter. Let's start with a pound metal. We use a pant method in order to aid a perimeter to the end of the list Is a member shoes off a pound? Metal is like that. You have the first answer listening It is followed by that. After that, a town between the portentous is you have to enter the perimeter. So in this example, the list name is test that happened between the Peron tenses. Zero is entered. So which is the perimeter at the end of the list? This is the orginal for off the list by using a panned the head this item into the list. So it will be at the aunt Done. The list becomes like that in order to verify the result. I display the results on the secret. Let me repeat it again. Aftertaste that happened between the parent is zero the least becomes like that on zero. Is it to the end off the list? Okay. Please note that this is the last form off the list. So we just added zero it and all the list. Let's go on to you Count. Middled Can't metal returns. How many times the perimeter appears in the list? The user can't. Metals will be liked it. You have to first enter the listening. Next. You have to put that After that, you have to type. Count between the parent is you have to enter the perimeter. I used count metal for the list which is named test within the parent functions. Parentis is in order to display the results right of it. So which simply this place for a peers in the test for they start count between the parent is is four times so which means that we are going to get the information for How many times for a piers in this? Let's check it out for years only. Valentine. So the message to be displayed by this print function will be like that for a peers in test for a long time. We are going to verify it banged around this court. So let's continue. We didn't update anything on test list, so the last form off the list will be the same again. So these are the members. Let's go on to you with a stand middle. All numbers off the list, which is entered as a perimeter for extent. Metal Well, a pound it to the list. The usual extent metal will be liked It you have to enter the list name. Next. You have to put that after that, you have to type extent between the parent is is you have to enter the This is a perimeter . This list is perimeter list. You can enter it like that as well. So in this example, the list name is test on. Then I put that After that, I typed extend between the portentous is I entered a list. So it is to members which are 1000 and 1000 after I extended the original list, which is test by entering this list is a perimeter for the extent method the original list , which is this. We'll become like that. So now it is for 51 270 1000 and 1000. In order to verify the results, I also display that result by using print function. Let me repeat it again. The last form off the list is like that. So the last version off this is this one. Let's contribute index metals index middle returns the index number off the perimeter in the list in order to use index metal Gave the first enter this name After that, you have to put that after that you hear to type index between the parent is is you have to enter the perimeter. So by this way, index will return the index number over the perimeter in the list. In this example, I performed it for this perimeter, which is for I used Index Middle liked it. I first entered the this name, which is this After that, I put that after that I type index between the parentis is by entered for So the index number off for in the list is zero. The result for this part will be zero. The index number four is zero. The last form off the list is the same. So taste is this one. Its members are here. Let's continue with reverse method Reverse middled reverses the members off the list. The use of reverse metal will be like that. You have to first enter the this name. After that, you have to put that after that you have to type reverse and you have to enter parenthesis between the parent is you don't need to answer anything. So in this example I used it like that as well. I first entered the list name which is test. After that I put that after this I type reverse and I answered the parent, This is on between the parenthesis. I didn't enter anything us. In order to verify the result, I also displayed on the secret aftertaste that reverse the list becomes like that 1000 1000 zero seven to one five, for it reverses the members off the list after re performed rivers metal on test. The last form off the list becomes liked it. So please not it. Here, this conceive it sort metal sort meddled sorts The members of the list the usual sort metal will be liked It You have to first entered this name. After that, you have to put that next. You have to type sort and then you have to enter the parent. This is in this example is receive. You don't need to enter anything within the party. This is here. I used sort metal liked it. I entered this name which is based after that I put that next I type sort on them. I didn't enter anything. Between the parentis is in order to verify the results. I also display the results on the secret. We are going to verify it. Family run this good after repair form sort middled on list. It becomes liked it. Zero 12457 2000. The members off the list are sorted. Please note that even we didn't performed the reverse metal before re performed sort metal . We were gonna get the same result here since reverse metal, doesn't it? Or remove any member to the list performing sort meddled on reversed or non reversed version off the list provides the same result. Clear. Metal is used to remove all the items in the list. The usual clear metal will be liked It you have to first enter the this name. After that, you have to put that next you need to type clear. After that, you have to enter. The parent is in this example is you can see we didn't enter any perimeter within the parent is in this example. I used clear metals is you can see here I first entered this name, which is taste. After that I put that next I tight clear. After that, I entered the parenthesis on I didn't enter anything within the parent is in order to verify the result. I displayed it based on the Supreme. I actually display that members off the list on the secret. So the list is test after re perform. Taste that clear. The result will be liked it because since clear method removes all the items in the list, they are not going to have any member in the list. Let's save and around this court fine, safe list corn to the south that people I safe run, Ron loaded. It looks like we got the expected results. So in the beginning, test is like that. So these are its members. So for 5127 after it performed, taste that apparent zero zero is added at the end of the list. So it becomes like that. And for a piers on leave on time in the list, it's escorted aftertaste that extent 2000. It became like that. So it is the same what we were expecting after repair form, taste that index for the result would be zero. It was what we were expecting found aftertaste that reverse that this taste became life. That it is confirmed after we performed taste that sort becomes like that. It is confirmed after re performed. Taste that clear. All the members in the list are remote, so we don't have anything within the list. So these are the metals you may need in the future to use for the lists. This is an old director. Thanks for watching 68. 68 Tuples Quick Review: in this section I will quickly reveal two triples. Maybe you're going to hear some concept newly in this lecture. So please carefully listen to this sector. I also need to say that as well. Sometimes two pools can be called is topples Don't get surprised when they are called as topples. However, in this course I call them is to put two polls are basically sequences and they are immutable. Pupils are immutable which is the main difference between the triples on the lists. This are immutable. Two fools are immutable in general. Then the two poles are entered The members off the to pull are entered within the parenthesis have evil They can also be entered without the parenthesis. Also parenthesis is sometimes known is being characteristic for the two poles. Please note that coma is more important here. I provide an example with this sample court They are going toe display the type off some data samples on the supreme on in this example you will understand it better. The 1st 1 is this one and they signed this toe test one The members off the to pull are entered within the parenthesis on the members are separated by a comma. The type of test one is stupid. Let's continue test the members off the to pull are answered, we thought Using the parenthesis, however, the members are separated by using comma. The type of system will be displayed this to pull Israel. I believe you find Tester is interesting. However, the following samples are more interesting. Let's go on to you With history here the to pull his Onley one member which is done on it, is entered within. The princess's have ever off the ton coma is answered. Since there's a coma, the type of history will be displayed is triple for a taste for the member is entered, we thought using poor aunt. This is, however, after the member coma is entered. Since there's a coma, the type of taste for will be displayed is triple for test five. The value is answered within the parent is this. However, there is no comma, so the type of test five will be intention. So this is very important is you can't understand it easily. The type of test six will be displayed is in danger as well. File save. Let's name it is to put that provide to pull Underscore Cone underscore one. That Levi Safe run round model. The type of test one is to pull for this to is to pull the type of history is to pull. The type of test for is to put on the type off. His five and A six are displayed is integer, so these are expected results. In conclusion, comas are important. Value entered the members for the trooper's. This is the end of the lecture. Thanks for watching. 69. 69 tuple() Function: In this lecture, I will introduce to pull function the usual tipple function vehicle like is full lives. You have to type to pull within the practices. You have to enter the terrible perimeter so the output will be in the type of people. In this example, I first entered a list on its members are 123 on the name off the list Is this test If you enter list? Tous is a perimeter for two full function. The result will be in the type of people. Let's do it first type people next reading the parenthesis Enter the listening which is this fist after this. By using the assignment operator, I assigned the result to triple Test after this assignment. Then we display the type of to protest on the secret It will be tripled. In order to do that, I used type function within the parent is print function. I entered type function and is a perimeter for type function. I answered to protest. Let's save on around the school in order to verify the result File save. Let's name it is to pull corn toe that Levi See Rahm Grandma do That's it is you can see from the result. The type of to pull test is this plate is triple. This is the end of the lecture. Thanks for watching. 70. 70 Accessing Member & Slicing: in this picture, I will quickly provide an example on to access a member off people and how to perform slicing bountiful. Let's start with heart access the members over to pull In order to access the members of a triple, you have to first enter the two full name and then next enter the index number within the brackets. So it will be like that you have the first entered the triple name within the brackets. You have to enter the index number, so let me provide this example. Here I first entered a triple, which is named place people. It is three members 123 In the full of anxiety, I accessed the member off a stupor, which is pointed by index number one. So the member off taste people, which is pointed by index number one, is to I assign to to number. Therefore, when I display the value of number on the screen to a little bit despite, let's go on to it, slicing on two pools, we can also perform slicing on people's. In order to perform slicing, you have to first enter the people name within the brackets. You have to enter the perimeters for start stop on a stick. Please note that they are separated by colon operator. And also please remember that Enter the perimeter, which you need to answer. I also need to state that here the number off the to pull, which is pointed by stop perimeter, will not be included for the results. And here I provided an example for half the perform slicing on two plus. I first entered the to pull name which is testicle reading the brackets. I entered the perimeters here. The first perimeter is one after that too is entered is you can understand from you by referring to the previous six years on slicing. Start value is Von Stop is two. Since there's no perimeter entered his state, the state will be equal toe again. Let me say that remember, which is pointed by stop perimeter will not be included for the result We are going to start from the index number one Rampollas one makes two hard leather stop is equal. Toto, the member, which is pointed by two, will not be included. Only the member, which is pointed by index number one, will be included in the result After we perform slicing. I assigned the result to sliced Aunt here I displayed sliced on the second for this line. Output will be within the practices to comma, but it's not too common here. Let me save And around this court in order if I the results file safe. Let's name it is people corn three that provide run around London. As you can see here, we got to expect to the results. This is an old lecture. Thanks for watching. 71. 71 Modules: in this section, I will introduce models in Parton by using motors. We can organize the parts and quote which will develop in fightin. A model can include closest functions and variables bend. In this lecture, I will started Parton's built in models by using Parton's built in motives. We can do many things without needing to start implementing everything from the scratch. In order to use a function or another item from emotive, we have to import date motor for that import Keyboard is used. For example, let's say we want open a website in order to open a website. There's a function which is in a Web browser. Motor on this model is a built in modern in fightin. So first we have to import this model. The syntax is very simple. We have the first answer import Cheever and it is followed by modern name. So in order to import this model, we're here to say, import the browser. If the import a model in this form in order taxes its function, we have toe first under modern name. It is followed by that functioning open function from labor Officer will be accessed by Veber Officer that open opening and closing biases on reading the parent is is we have to enter the girl we should would like to open By the way, I answered my company's website in order Not any copyright is yours Something else. So family save and run this court This website will be opened by the browser. This website is opened up by using open function from the labor Officer. Mother, please note that here we entered the euro framed with quotation marks. If you don't find a need to enter modern name value call dysfunction here it is also possible You can do it by importing everything from this model. So in order to do that in this line, we have to use start and we have to it from Cheever. Then syntax becomes from modern name import start in the court it becomes from a browser import start. So by saying that we can import everything from November after mother done, you can directly answer function name So it becomes open. You are within the parenthesis on police, not it Europe is framed with quotation marks is expected. It works. However, it is not good to everything from the moderate because of it, it is preferred to import whatever is needed in the court. Let's formalize. It is from modern name import whatever you need in the court. And I modified the court is from the browser model import open on here. We can directly enter Open function is expected. It works in fightin. We can call it function by using a different name. So in order to do that, we have to use ISC. Evert Van Be important on it will become from labor Officer Model Import open is open live site Here you can use a different name, but I prefer to say open website instead of using open here. I called this function by saying open Lipsyte as expected, it works fine. In conclusion, we can use the functions, attributes variables closest. Oh, a model. By importing that model on in order to import it, we use import Cheever and we can import in different ways is recovered in this section. This is Donald election. In the full of English years, we will discover more about fightin 72. 72 Creating And Using Modules In Python: in this lecture, I will explain, have to create customized model Inp Iten in the example. We're also going to use that murdered in the fighting good The user Modern helps you to organize your part in court. In the motor, variables, functions and classes can be defined. Models can also contain run noble court. Let's start with a very simple example. I will define a function within the Modern, which this place high on the supreme. So open a new file file, meaning new file. Here I will define a function, so type def. After that. Let's name this function is say hi parenthesis and Colin, operator for dysfunction. You don't need any Parliament er within the function we are going to use print function is well on between. The parenthesis is friend with quotation marks. Let's type high on its it exclamation mark. No, let's save this one save. Let's name it is say underscore High that people, I underscored high that provides No, let's open a new file again. So I just organized them in order to show them all on the same screen. By this way you will see everything on the same supreme easily so in this new file, I will enter a quote which is going to import the model name. Say hi that people and I will not forget underscore when I type it. Andi, After the import, the motor, the court, we'll call the function which is named Say hi and this function is defined. I didn't say hi that people first import this model which is say hi import se underscored high. Next we are going toe call this function which is in se underscore high that provide in order to do that se underscore Hi, that functionally Since it doesn't get any perimeter, we are not going to enter any perimeter within different lists. Not. Let's save this new file as well. File save. Let's name it is cool. Underscore. Say hi that people. Now let's run this one run Ron. Murder is You can see from the result on the secret. The message from, say, higher function is displayed on the secret. It is that simple. You can use motors for different purposes and for more complex courts as well. On the other hand, I would like to say that in fightin you can treat it fightin file. It's murder And I think you understand from the example is well, let me repeat it again. In Piketon, you can treat a pie. Tin file is motive. So please import the fightin files which we implemented is example during this course on practice with them for importing motors on using the motors. Inp Iten It will be good practice for you. So in this example with this court, the important this file let me show you one more thing. Let me first organized the sickly in a According to what I see, we can also import this file. So let me import it on. Let's see the results import. The name here is called Underscore. Say hi that provide. So I have to type coal Underscore Say hi heat Enter Then I import This file is model. The court which is entered within this file is run. And since within this court the import this murder and we call this function within this murder this message is displayed on the screen. I believe this is very simple example for you. So I would like you to import the pipe and fires which we implemented is example during this course on use them in order to practice. Have to use models in Parton. That's it. So it will be very good practice for you to understand the concept before ending up this lecture. I want to also make a quick explanation. In Piketon, we can also structure some related motives by grouping down into a package. Let me show that very quickly. This is from the jangle related section. Please don't bother yourself to understand everything else here. And please ignore this part is Well, just see this test Pro section Despereaux folder. Aunt, here, please consider these fight files okay? No. We can also structure some related murders by grouping them into a package. Darfur. We can structure the motors by grouping them into the packets. It is very simple, Harvey. But please note that in order Parton to treat the container is a package it needs to contain double underscore in it. Double underscore that Levi file. If you have this file within the container, that container will be treated. Is package by Peyton Value covered the jangle related section in this course. You will understand it better. But I also wanted to explain it in order to give you some kind of information about the packets which is linked to motives in fightin. This is the end of the lecture. Thanks for watching. 73. 73 Structure Modules Into A Package: in this section, I will introduce have to structure motors into a package. Inp Iten I first read it a new folder into our working folder in which behaving saving the measure it all fightin coats in this course not it. I first added a new folder into our working folder, which is named Learn Fighting Quick by examples I name This folder is Sample Pack is You see there is nothing within this folder Now let me at the Titan file We just used his model in the previous example Say hi that Levi file Say this. Let's save it with same name in tow. Sample pack No, Let's it another pipe and file into this folder which will display the name that you enter when you call the function. Let's modify this good on use file saves on. We are going to save it with different things. So we will hear the second pipe on fire here. Let's name the function for that. Great on. We need a perimeter which is name within the parent is or print function type coma and name on Dream of it go to file. Say this its name. It is grating that provide save. So we have another fight and file here. The question. But we are missing now for the package. We need toe it. Another Parton file, which can be empty. But we have to name this fightin file is double underscore in it. Double underscore that people let me do that file See, double underscore in it. Double underscore that people safe. That's it. Okay, so the package is fine. Let's open a new file in order to enter the quote. Now we are going toe import the mother from the package. Let's import grating mother on. Let's use the function within this model from sample pack import creating from sample a pack import grating. We have great function within this model. We have to first enter the motor name because we didn't import this function from this mother so grating that we have to enter the function name within this model, which is good, it reading the parenthesis. We have to check if we need to answer in the perimeter. Yes, we have to enter name Hollywood, Remember? We didn't specify, but it fell bit sitting input. I'm going to enter. My name's sitting within the quotation marks I type my name Alper found It looks fine. So let's save And around this court save I'm going to save this court into the working folders in which we have been saving the measures over the pipe and courts in this course. So it has learned pipe and quick by examples. Let's name it is called greed. Cool underscore. Great that people safe from Ron murder it works. It displays high. I'll pair Hi On it is toe ate my name which will enter here Alper We got expected results by using the metals from the model which is imported from the package. It is just great because you just implemented your own model on a package and you also used them in the court before finishing this lecture. I wanna show two more things. Let's close it first. Instead of calling this great function like that, we can do well, Morty. So we could say from sample Pack that grating. Let me make it be good import. Great. So the import dysfunction from this model And before that, I entered that and I enter the package name so from package name That's motive name import function. After that I could die a quick call The function. Let's save it differently and run it File se vis called great underscore Toe that divide run Ron Moody. It works so you can enter the court like that if you need the last thing which I want to show you. Is that within the sample Pack folders, please not pew I cash. So value practice motors by yourself. Please check the folder, which is named Double underscore Pi cash. Double underscore. This is the end of the lecture. Thanks for watching. 74. 74 Contiuation Character: in our court. If you have some quote parts or lines which are later, long or complex, we can use consternation. Character in fightin. In this example, we are something these six variables. However, this line is very long. By using the confirmation character we can, right? It's in multiple lines. No, it looks simpler than before, so let's save and run. This court if it works without any problem, is seen here. It worked. We thought, in a problem. 75. 75 Multiple Statements: in fighting, you can write multiple statements on the single line by using a semicolon. Let's cover it in this example by simply using the print function here. Put a semicolon and it worked fine, without any problem. In conclusion, we can enter multiple statements on the single line by using a semicolon between this statements. 76. 76 Multiple Assignment, Swapping, Chained Assignment: I believe you recognize that fightin is not only easy to learn strong programming language , but it is also easy to quote programming language in distinction. I will show multiple assignment stepping and chained assignment in Parton for multiple assignment of utilized comma. Let's say you need to assign values toe X by and is it is you see variables are separated by a comma on the last Variable is followed by assignment Operator. Let's say you wanna assign 12 x type one. It is followed by Koma Andi. You want why to be equal toe Hello as the stink on you need is a to be equal toe 5.1, please not to come us between the variables on between the brothers? No, let's display the values, all the variables first x next of I and finally is it. Let's save this example. Is multiple assignment doctor. Now let's run it, Ron Ron. Model X is equal to one. Why is equal toe hello and is it is equal to 5.1 in conclusion. By using coma, we can't simply make multiple assignment is covered in this example. You can also do something similar. Let's say instead of X comma by commas it this type here sample No, this line is sample assignment Operator. One comma Hello is stink on five point fun and there's coma as well on this five x comma by coma assignment Operator Sample on. By this way, we can assign von two x hello toe right on five point mantle, is it? And we can display the assigned values, too. X y and z it by typing Prince X between the parenthesis parent fight between the parentis is parent. Is it between the parenthesis? Let's save this file differently. Let's say multiple assignment to Let's run it Run on Ron. Model is you can't see here. We got the same self. No, let's go on to you with Hall to perform, sweating in one line with fightin. Let's say you need to swept X and is it? Let's remove this one. And with removed, let's make it takes on Is it on the list? Remove it. So here's a signed of others. It's OK, let's remove right because we don't need it here. That's it. Here they signed the values in this line. I will show how to perform sweeping in Von Line with fightin. You need to sweat X with that, so you have to type X commas it assignment, operator. Now you have to type that comma X. In the beginning, X is equal toe one, and that is equal to 5.1 here. Video stepping, Bambi save and around this good. It should be equal to five point fun, and that should be equal toe want. Let's save it bi se vis um, its name. It is sweeping that people, Let's run it run. Ramadan, as you see here, exist equal toe five point fun, and that is equal to one. In conclusion, it Parton slipping can be performed by typing the sweeping related court in the same line. By using comma in Parton, we can also perform Chained assignment. It is very simple, and let's do it for functions instead of values because, well, the covered some examples in this lecture with values. No, let's go into it with the functions. It is very simple. Let's simply say like, let's say show is equal toe display on this play is equal toe parent. By this way, we can perform some chained assignment. Let me do it separately first. After that, I will treat with change Assignment so so short is equal to print. Display is equal to print, so it is simple assignment. It is not chained assignment here, and it's display some message on the secret by using show between the practices a string type shop so they don't know. We displayed this message by using shop Andi by using display between the poor. Entonces is friend with quotation marks type display on. We don't know it is displayed by using this place. Finally, by using print between the parentis is it's framed it triple courts or double court. It's fine type in and you know this message is displayed by using print. Let's save on around this one. Let's see if it is simple assignment. That's P by Ron Ron Model. This message is displayed by using show This message is displayed by using this plate on. This message is displayed by using print. We can also perform this assignment in the same line by performing change Assignment display is equal toe print on show is equal to display. Since this play is equal to print, show is equal to print. Let's save this bites Avis on this site. Chained assignment that Levi Ron Ron model. So we got the same result. In conclusion, we can also perform chained assignments using more than one assignment operator in the same line. If you want, I can show one more example. This example is enough to understand the change assignment in this line. If you want me to provide some example with variables, I can't do that as well. Let me comment on this region and let's say First is equal to Second is equal toe chained assignment. So then I say Parent first chained assignment. This will be displayed on the screen. Also instead of first. If I type second on this sitting chained assignment will be displayed on the screen. Let's save its differently. Savers chained assignment to that guy. Run it. This message is displayed on the Supreme by using first and second. So here he performed change assignment. Let me repeat it a game. In conclusion, we can also perform chained assignments using more than one assignment operator in the same line is recovered. In this example. This is not a lecture. Thanks for watching 77. 77 Random Number: In this lecture, I will provide a sample code which will display randomly generated integer value. I will not go into the details about around the model. Hollywood cease Providing a random number generating called sample will greatly help you to start using ground the modern. I will provide this picture on the example in the lecture in this sample could we will have minimal maximum values. The result can be greater than or equal toe minimum Aunt Wriston or equal to maximum. Let my answer minimum value, Let's say for and let me enter some maximum integer value, which is six. No, we need to find a way cool, randomly generate integer number for this condition. So results should be in this strange on maximum should be included as well. I am going to show you how toe search for what you are looking for by using heightens recommendation. So you have to first open titans documentation. You can do that by clicking on if one or you can go to help me and click on fightin ducks. But we are looking for is random because it is more related toe what we are looking for so type random it's up. You see the topic, so click on it. It's opened up. So now let's check it out here. I'm going to use ran range function. Harvey Bush. I want to show you how to search first value. Check out the document. If you can find some example, it is better than reading everything balm by one. So check out examples V. C. Some example. Here, this looks like but we are looking for however not it. The last number to be included into the result is 100 here, 100 plus one is entered. It is very important. Before I showed the definition for rant range, I would like to tell you in the beginning this is start value. This is stop value. This is step. Then the step is equal to one. You don't need to enter the step, so let's go up to check rand range. Here it is. So we are going to use this one, which means we are going to first import rand range from random. After that, we are going to use rant range function, the start value on a stock value, need to the enter. Have you ever I will not solve even more. Think here if you see something within the brackets, which means you have to answer it that you need that since the step is one for our problem , we don't need to enter that. However, we have to be careful about vaunting. So let me type one by one and I will show it first from random import rant range from random import Grand Strange. Okay, so what we need? Let's define them again. Let's say start and stuff. We don't need to enter the step. The randomly generated number to be result I will name it is result. So result is equal toe brand range between the parentis is under the perimeters. So the parameters will be start and stop it. And by using print function, I will display there. Result. So between the parent is off print function type results here they can go back to the example. Okay, this one. Or let me make it better for you. I think you can see it better. Or I believe this is better for you to see everything so we can directly say start is equal toe minimal. It is fine. Have ever we have to say stop is equal to maximum plus one. It is that simple. Everything looks fine. Um, yes. Let's save and run this sample file se. Let's name it is run underscored. Sample that, Levi save around model. So here we got a number within the range. So this is expected result. Let me run it again again. 18. We can get 546 So this is what we are looking for. I believe this example in our for you to start using around the model. If you need to learn more about random model for scientific or another purpose, you can't simply check out the documentation decided in this section. You can also check out the documentation for other problems with Beytin. You can't find examples on some other definitions. Which unit is I stated before? You can learn better by practicing on whenever you need to use something on whenever you have questions, she caught the recommendations. Also, you can check the results and some resources on the Internet. However, sometimes you can work off line. You can. You cannot have access to the internet. Sometimes at the time you can use recommendation. You can find good examples here. These are not very much detail, but it gives you good information on good idea about your solution. This is not all the lecture. Thanks for watching. 78. 78 Function Call With Different Name: in fightin. You can use a function also with a different name. In order to do that, you need to use assignment operator In the beginning, let's say you want to use print function by calling with a different name and that name Toby Display. So in order to do that, you have to type display first. It is followed by assignment operator after it type print. Now let's taste it. So instead of print function, we have to type this place between the Parliament. This is, let's enter some string to display on the secret. I've used this plate. Let's type. Let's save on around this example. Let's name it is call underscored this plate. Or let's just say this played out people. I Let's run it, Ron, Grandmother. So the string or you can say the message entered with this plate is displayed on the screen . You can still use print function. You can't still call print function by typing prints. Let's so that year. A copy paste. Let's make some small modifications, so we are calling with print on used prints. Let's save on, Run it. Let's save it different. Name this play. Underscore to that Ron Ron model, so both of them are working. So views this. Play the used print in conclusion. By utilizing assignment operator, you can simply make modifications to use. Also different name to call the functions is with it here in the beginning, by using assignment operators, we made modification in orderto call print function by entering this place. This is an old lecture. Thanks for watching. 79. 80 Python Shell: We can also answer the fighting quotes from the pipe and shell. I started idle for part and 3.4 point two in this example, and I am using Parton shop after you started Idol. You will get the part and shell that you can enter your part in court for this lecture. Let me give you a very simple example. Let's use print function again between the parenthesis. Let's enter the message again. Label framed the message with quotation marks. Let's enter Sarah Lamont, which means hell, a bold in French value hit answered. This message will be displayed here. That's it. We can also answer some kind of submission or other part medical operations as well. It's not of this one, so you can use it for any purpose. You can also enter more complex coats using partners shop. I believe this example is enough for you to understand that you can use fighting shelf taste, some quote part. This is the end of the lecture. Thanks for watching 80. 81 Perform From Command Prompt: sometimes people. I prefer to meanings the pipe in court from command prompt if you prefer to me. Is the fight in court from comment prompt? I will explain that here, for example, let's say you're using Windows operating system and you want to enter your part in court using the not pit. You also want to manage everything from the comments prompt. It is very simple. As I stated before, you can use any text editor in order to enter your fighting. Good, however you have to it that provide it and in order to indicate that it is a part on fire. If you are using Windows, it is very simple for you. If you are using other operating systems like Mike Ways or clinics, it is is Ezra. However, I will explain it in Windows. You can adopt this information into other operating systems. So it is. It is kind of same in terms so mean structure. So first change, The directory for value are going to save the fight and file. In the beginning off discourse, I created a working folder which was under Parton, 34 on Pipe and 34 is under sea on I have been saving mean python courts into this working folders. First go to see you have to talk to see the big slush hit Enter. This is the current directory van you type the I R and he's answers. You will see whatever you have here is this e V hip fight and 34 in si. Let me quickly change the director for pipe and 34 So I have to type CD pipe and 34 Let's see what we have in fightin three foot again type D I. R and his enter. So we have learned part and quick by examples. I would like to save the fightin file in this lecture we are going to create into this working folder, so I have to change the directory for Learn Piping Creek by examples. Instead of typing goal of them, let me quickly Korpi on a CD paste hit. Enter. No, we are there. Let's clear the secret because you're older. They understand this part. So this is the current tired three is I stated before I will use not pit in order to enter the fight in court. Simply type, not paid. It's a face enter the file name, which you would like toe entered the pipes in court. Let's answer a new file name at the time. It's going to ask if you would like to create this file. Let's name this file as CME the underscored sample that by is you see here it and all the file name I entered that peeve. I, in order to indicate that file is a pipe and file he entered so it says cannot find cmd underscore Sample that people I file. Do you want to create a new file? Yes, so this is created now we can enter the fight in court. Let's answer. Very simple. Called again. Let's display a message on the comment front. Let's say on the screen you can say whatever you want. Korean. Let's say hello vote. Close it. It's asking. Do you want to say the chains? Yes. Save it. Since Sandy Underscore sample that by in this folder the folder name is learned Parting kick by examples on this is the current directory on the command prompt. We can run the good from here. In order to do that, you have the first type fightin. After that you have to enter the file of name. The file name is Sam the underscore sample that people in this course many times I copy and paste the parts in orderto visually show that I'm answering the same thing so I can type it easily actually. But I just want to show it is the same thing. Soap Iten cmd underscore Sample that people I heat enter so the message is displayed on the screen Let me do one more thing. Here's type the IA and hit answers And here we have a fine which is fighting file variables that Levi let me quickly run this court from command prompt They can clear the screen again again I have to type Iten It's a face. I have to enter the fightin file name which is variables that people he answered. So I run the fight in court from the command prompt on the result is displayed on the screen. I believe this is enough for you to understand that how you can around the court from command prompt This is not a lecture. Thanks for watching 81. 82 write() Function: in the previous examples used print function to display the output. However, we can also display the output using right function. In order to use the right function, you have to first type import. That's why is so type import. It's Why is the next type is bias that STD out that right? It's Why is that a city out that right? Reading the part on Texas, you can enter what you need toe display on the secret. Let's display a message, which will be a string, So use the quotation marks. Let's type hello space in the following line. Let's type. It's why it's his city out right world. Remove the space so you can use right function like that. Let me show you one more thing here after the first line, let's use print function because I would like to compare print function and write function between the four. Entous is let's type Hello Vote is framed with double courts or you can use single courts or double quote three double court or three people called It doesn't matter. Just make it stink. Save and run this example File. See you learn fighting quick examples. Let's name it is right underscore example that people I drunk a round motor is you see here Thank you. Use print function. It continues with the fall of England, however, then you use right function. It doesn't continue with the new line. It continues in the same line. If I didn't put space here, W will be here. Let me quick to show that Remove the space, Save on run. It's little bit like that in orderto answer New line, you hear toe. Enter the indication for new line within the courts. Let's save and run this court value type big selection, and it goes to the new life. You can use Big Slush and within the print function as well save and run with print function. This part is this plate Hello world and New Line is this place. Since he used print function, it continued with new life. So the first difference between print and write function is that let's remove this big slush and again. And let me quickly show that because well, save on drums. Thank you use print function. It continues with the new line. However, right function does not continue it new life. So this is the first difference. Another difference is that you know where to use right function. You have to import this. Why is and you have to type is y is that STD out that right. Which means you cannot directly use right function whether you can directly use print function. This is handled election. Thanks for watching. 82. 83 Build with Python, Django, XML, SQLite: in this section, it will be introduced how to work on the database using sq light with beytin Before we started covering. Hard to use fighting with sq light. Let me provide some basic introduction in its girl concept. The records are stored in the tables and every court is answered initial. All the table and the tables are stored in the database. The definition off the table is very important. With this definition, we will know which columns the table hiss bands, the data type for each column as well. You will understand this concept attend off this section, but I just wanted to give you some quick introduction about it here, and every record entered or you can call it is inserted into the table should fit tables. Definition. I assumed it. You need to start to record all the cars in the state, so you need to enter some related information about the cars into the table. Assume that the table which are going to enter the information off the cars. His four columns on these columns are Car I D car make car model and car year, and the name of the table is card. You also have to know. Each column will accept a specific type. For example, here, Car I. D. Carmi on car model will be text on a car here will be intelligent, and the sported types by sq light are fixed. Integer, riel, blob. And now and again, the data types abused in the stable are text on indigent. Let's view of this example. Let's see. We have four cars in the city and we have to answer The records belong to these cars. I assumed it. The information for the first car corresponding to the columns off this table will be is seen in the stable. So let's say this is the first car car I D. For the first car is see. Even car make for the first car is a car model for the first car is be car here for the first car is 2014. Please note it. Every related information off the first car, which is entered in the first row, is start at entire section. Beats me in the first row on a related column, for example, for the first record, which is the first car on which is entered into the first row so again for the first record car idea is Savon. Carney is a car model is be car year is 2014. Similarly, for the second record, the related information is entered into the corresponding columns in the second row. For the third record, the related information is entered into the corresponding columns in the third row. For the fourth record, the related information is entered into the corresponding columns in the fourth row. This is done all the introduction for this section. In the following lectures, we will cover how to use Parton with sq light with examples. In this lecture, we will cover how to create a table. In order to work with sq light, we have the first import. The library is recovered in the previous lectures in orders import a library. We're here to use import fever and it is followed by the library Any so the answer import issue like three. In order to be able to use the library in this court. Since we imported the library, we can start working with sq like here. The next step will be creating the connection object collection object represents the database on it will be used to connect to the database. In this example, I named connection Object is connection. It is followed by assignment Operator. Next call the library, which is sq like three, which we just important Next. Put that after this. Use the clinic function assumed its The data is start in databases, Davey. So enter database Devi friend with quotation marks his input or you can go. It is argument, so the connect function. So in order to create connection object the enter connection which is the name of the connection object Use assignment operators called the library, which is sq light three. Use the clinic function. In order to use it, you have to enter that connect between the plant is off connect enter the database name. So in this example, we assume the data is stored in databases. DDB, please note it is friend with quotation marks on its answer it that Davy Now we are ready to create the table. But before that let me quickly explain something. In order to create a table in extra light, we have to use a specific statement. So in that statement we have the first type create table and it is followed by table name. Opening on closing for antis is between the princess's. We have to enter the column names and the types Toby entered for these columns for this example The table name Ville D card on the column. Names will be Car I D Carb meat car model at car year and the type for Car I D. Card meet and car model will be text and the type for car here. Call him Will be intention. So the issue a statement will be Create Table Car, which is the table name on between the Prentice's the column names, which are Car I D. Karmic Car model and Car year. The type for car ideas takes for car make is text on the type for car model is text on the type for car. Year is intention, but there is a small problem here. We cannot enter a scare statement directly into the pipes and court. In order to enter SQL statement, we have to use connection, object and execute metals. So the connection object in this example which we created here was connection that in order to use execute methods so between the parent iso, execute metal, we will enter this SQL statement framed with quotation marks. So with this cold line, the table will be created. However, I would like to display a confirmation message if everything works fine. So this will be Prince. If everything works fine on, which means there will be no error message or any problem, this message will be displayed on the screen so it will be a table is created. The table is created on the message is displayed on the secret. This is the end of the lecture. In the following lectures, we will cover more about sq light on fightin. In the previous example, we created a table and we named. The table is card, but if you try to create this table again, we will have a big problem. Let's run the court from the previous example to see that problem. So here error message is displayed on the screen. The message says Table car over the exists. So from this message, we understand there's a table which is named car, and we cannot create a table with the same name. Hollywood. In some cases, we need to drop the all table with specific name on a venue to create a new table with that specific name. In this example that specific table name is car. So let's see how to do that with this example and you will understand it more clearly. So here we have to answer it. New SQL statement. In order to enter Escarre statement, we have to use connection, object and execute Mittal's here. I will first drop the table whose name is car. After that, I will create a new table with this name. So between the parenthesis on friended quotation mark, let me answer that statement here the first drop table car if it exists After this, we can create a new table named Carter by using connection object on execute metal we first enter. This is God's statement which is dropped table if exists. Card which means if table card exists, drop it in the four living line by using connection, object and execute metal again. The answer This statement which creates table cut until here. If everything works fine this time will be executed on this message will be displayed on the screen. This message is table is created. Let's see what difference So everything worked fine and the message is displayed on the screen. Let's repeat this called again the first imported sq like three library. And then we created connection Object by sq light tree that connect between the plant is is the answer. The database that information for this example is start next by using connection, object and execute metal. We entered a scar statement, which is drop table if exists. Card, which means if table car exists, the rope it. In the fall of England, we used connection, object and execute metal again, and he entered its got statement, which creates table car so it don't. He displayed a message on the Supreme in order to make sure everything worked fine. So the message is displayed on the screen, which means the table card is dropped on a new table named Car is created. This is not know the lecture. In the following lectures, we will cover more about Parton and escalate. In the previous examples, we created Table Hollywood video. Don't answer any value into the table. In order to insert valor into the table, we need to answer Escarre statement, which indicates the table name. Call them names and of others Here. I provided some sample definition for the SQL statement. According to this definition, we have to first type insert into. After that, we need to answer table name. Next. We need to enter the column names that the values will be inserted into, but not that column. Names will be answered between the opening round, causing Francis's. Next We need to type values, and between the parentis is the answer. The brothers to be inserted into these columns in this example assumed it. There are four cars in the city and we need to enter the records off these cars into the table, so that table is created in the previous lecture. The table name is card on the column. Names in this table is Car I. D Card make car model and Car Year in the sample court. From the previous lecture, we already defined that car idea Carmi car model except text site on a car year except integrity. I believe the introduction for this lecture is enough to start covering this example. Here we first import the library, which is sq like three import s. You like three Next recreate connection object. And since we already created the table car in the previous lecture. You don't need to create the same table here again so we can start working on a card table here. Here the records off these four cars are inserted into the table in order to insert the record for each car. We used these Iscar statements in order of the Enter SQL statements. I entered connection that execute, which is connection object that execute metal between the plant is or execute metal. I entered the Iscar statement framed with quotation Mark, Let me quickly explain, Have I entered this guy's statement in order to enter the record off the first car. So first I tight insert into next I entered table name, which is car between the plant is this. I entered the column names that the values will be inserted into. So the columns are car I. D car make car model on a card here. After that, I tight values between the parenthesis. I answered that values for the first car. So for the first car Chi idea is Sivan. Karmic is a car model is be card Here is 2014 for it is not it. Stink brothers are answered is framed with quotation marks. Andi, also please not that in this line. In order to frame the Iscar statement, single quotes are used and in order to frame that takes values, double quotes are used. I also want to state this year if you frame this car statement with double quotation mark, you hear to frame the text values. With single courts in this line, the record for the second car is inserted into the table. In the third line, the record for the third card will be inserted into the table. And finally, with this line, the record for the fourth car will be inserted into the table. After we make chains in the database, we need to use Comet here. So in order to use it, you need to enter connection object that comet opening and closing fantasists after everything works fine on the brothers are inserted into the table. This message will be displayed on the supreme. The brothers are inserted into the table. Let's see what happens. Everything worked fine. The values are inserted into the table and finally this message is displayed on the screen . The values are inserted into the table car. This is not a lecture. In the following lectures, we will cover more about fightin on s you light in this lecture, we will cover how to retrieve the records in the table. In order to retrieve the records, we need to enter a statement which indicates which columns you select from which stable. Here. I provided some sample formula to enter a statement to retrieve the records in this example . Based on this sample formula first, I type sell it next. I entered the column names to be selected after this. I type from and finally I answered the civil name in this example. I assumed it. We need to retrieve the records for all the columns. I believe this introduction is enough to start covering hard to retrieve the records with this example is we did in the previous lectures the first important library import issue, like three. Next, we create the connection object. And here again, I named this connection object is connection. In the previous examples, we already created the table on the unsorted recourse into that table. So now we can't retrieve these records in the table. Here, I answer connection object that execute between the portentous is I under the Escrows statement, which is framed with quotation marks in order to city these fields from the table. So in this statement, I first type sell it next. I entered the column names to be selected. It's odd cut idea Karmi car modem and card here. After this, I type from and finally I entered the table name, which is cut. So this park retrieves the records for these columns. I assign this retrieve records so ever able on I named this we're able is result in the following part off this sample could by using for loop, I will display the retrieved records on the supreme. Let me repeat it again. By using for loop, I will display the corresponding values in the selected columns for each row. Line by line of the supreme sees selected all the columns in the table with this statement . Result will store the values in the stable aunt in the for loop. We are using another variable named blind. In its step off, the four look line will store the value in vitro off this table. It means that in the first step line will start the values in the first row in the second step line will start of others in the second row. In the third step line will store develops in the third row and in the Four Steps line will store the values in the fourth row. So here, by using print function and using line, is argument off the print function. The values for each row in the table will be displayed on the secret in line by line, so the values for each rub off the table are displayed on the secret in line by line. Let's modify this court by selecting only car idea, so only the car ideas for each record are displayed on the screen. Let's cover one moting here. One example. Before the previous example, we selected all the columns in the table. We entered all the column names after said it here. However, in order to select all the columns in the table, we don't need toe. Answer. All the column names considered it. We can't simply enter satar to select all the columns in the table. It's seen here. The values for every column in East Row in the table are displayed on the screen in the following lectures, we will cover more about fightin. The objective of this section is to introduce how to use fightin for examine related tasks . In this picture, I will introduce examine example files are prepared in some structure. Using tax on this structure makes examined files readable for human and computer. So with computer program, we can read the data in the example file, or we can create exam a file. Or we can update the data in the example Fire. By the way, in this lecture we are using, Nope, IT plus Plus. Since it is similar to other text editors, which you already use, you can't use it very easily. Examine does not perform any computation, and it is not a programming language. Example is a markup language. Another important thing which we have to know about example is that example is extensible, so you can create your own tax. Here I created cards Tech. This is opening tack on. This is the closing tax here. I answered the information off several cars within the section defined by cars attack in this area. I also created other tax in the blocks defined by opening and closing card check. I entered the information for each car. This is for the first car. This is for the second car. This is for the third card. This is for the fourth card, and in this each section defined by car tax cars I d. Make model and year information are entered. And in order to enter the related information for each off these cars, I create it. Other tax Didn't these sections defined by car tax? So these tax our I d make model and year Here, the information for the first car is entered. Please note the opening and closing attack for cut from this section. We can understand it for the first car. Idea is Sivan. Make is a model is be year is 2000. The information for other cars are answered. Similarly, here you can use other tax as well. For example, you could use vehicle instead of card on. You could say vehicles instead of cars. You could say vehicle instead of car. And instead of idea, you could say vehicle I D. Or in anything else, like license number. Whatever you need. Let's quickly review this example file here in the first line. The first answered examine version 1.0 and I will provide this sample example file in the following takes tutorial as well. After the first line, we created attack, which is cars attack. And here we closed in this section they entered the information belong to for different cars, Aunt, the information for each car is entered within the subsection, which is defined by car attack, opening tack and closing tax for the first car. This is for the second card. This is for the third car. This is for the fourth card. In order to enter the related information belonged to these cars. We also created other tax, which are I d make model and year. During this lecture, the tax in the example file were colored on. We were able to understand the location of each attack in orderto get that view goto language millions on siddiq examine. So here we got the similar. This is very important advantage of using not pit plus plus on. This will help you when you work with in orbit plus plus on examine. So, under this working folder, I say this file is cars that examine that examine indicates this file is examined file, so the file is safe. This is Donald Election in the full of English teacher. We will cover have to use Spuyten, for example, related tasks in the previous lecture we manually created. Example file. In this lecture, we will cover home to implement Apart in Court, which creates example file the sample coat, which we will cover In this lecture. We create a new example file using the information off the first car in the example file from the previous lectures. For this example in order of the implement Apart in court, which creates example file I first imported document from examine that storm that minute Um and next I created document object and I named. This object is main not next by using may not on create elements method Great car element. So car is equal to may not that creates element between the parentis is counter the name and I named it is cut after it it car dilemma. Two cars So cars that a pound child between the parent is this answer card. No, we can create these elements. After creating these elements, we can add them to car first, create idea element by using may not and create element metal ideas equal to me. Not that great element between the parentis is entered. Any on I named it is I d. After this, it's i d to cart car that a pound child between the parentis is I d No, I need to enter this value or you can't go it as information here I named it as in for So in order to enter this one info is equal toe may not that create takes not between the parenthesis under the information between the quotation marks After this, at this information to i d by entering i d that a pan child between the parenthesis in for next create make element by using create elements metals So make is equal toe may not that create element between the fantasist Enter the name which is framed in quotation marks and I named it as make After that it make toe cart by using a pan child So it is a car that a pound child between the parenthesis answer may on we named it is make Now we need to enter the related information for this attack which is a so by using create takes not on a pan child they entered that information in four is equal toe. May not that great takes not between the parenthesis friended quotation marks. Enter this information the next answer. Make that a pan child in four in order to at this information into this stack. Now create model element by using create element metal So model is equal to may not that create element between the parentis is on its framed it quotation marks enter the name on I named It is model, so I, too, have it spayed is model here by using a pan child eight model tow car car that a parent child between the parenthesis cantor model. After that, in order to enter the related information for model, which is B use, create takes not method, so in four is equal toe may not that create takes not between the parentis is is framed in quotation marks. Enter the information, which is V after that, by using a pan child entered that information for this attack, so model that a pound child between the parenthesis in four finally create your element by using create element metal. So it will be a year is equal to may know that create element between the parenthesis. Answer the name. It's framed in quotation marks, and I named it this year, and it will be displayed his year here next it year two. Car car that a parent child here by using create It's not metal on a parent child method. Enter this information for your attack. If four is equal to me, not that great takes. Not between. The parent is entered that information. It's framed with quotation marks. That information is 2000. Here in the following line. Used a parent child metals year that Japan child in four. So this weather or this information will be answered for your attack so the information is entered for the first car we created cards, Car I D make model and year element, and we entered the related information for the first car for this tax for I D. Make model and year, it's handled the sample court we create example file on the Enter the information for the first car after the values are entered to the new XML file. Because this file here in this line I create file object on I name this file object as exam A file. After that, I answer assignment Operator on designed operator is followed by open method is the first parameter toe open method. My answers. The file name, which is cardinal examine. If this file does not exist in the working folder, it will be created is a second perimeter I under W, which is framed with quotation marks, which indicates open metal will be in writing more aunt here by using two pretty examine metals. The answer. The data to the new example Fire. So the answer examine file, which is the file object which you created here is a mal file dot right between the parenthesis banter may not that to put Exuma opening and closing plant is after the attacks and information are entered, too. New XML file, which is carved out examine because this example five Let's save and around this code to see the result. We didn't get in error messages, so hopefully this information and tax are entered to the new example. Five. So let's check it so car examine is created, which is named car on the type is examined. Let's open it with nope, it plus plus so the tax and the values or the information are entered into the exam. Al fire correctly. This is the end of the lecture. In the following lectures, people cover more about fightin in this section. Iva quickly introduce HTML and we will be using the tools at just been dot com in order to practice HTML. Since we will be practicing HTML excepto HTML and output sections, you can't close other sections by clicking on them on close this part in order to get bigger view. This tool is very useful. Is the beginner you can start learning? HTML ceases on Java script by practicing with this tool easily isn't expect. You can also test some H. Damon ceases at Java secret Court very quickly, so I believe it will be helpful and motivating for you to start learning html with such a practical tool which displays the output instantly. This is not older video. Thanks for watching in this lecture. We will cover the basics for how to create HTML document. First, we need to inform the browser the type off. This document is a stammer. In order to do that between the angle brackets, we need the first type exclamation point. It is followed by a doctor. Next retype HTML. Let's repeat it again in order to inform the browser that the type of this document is HTML between the angle brackets, we need to type exclamation doc type HTM it The page is displayed based on the HTML document on HTML. Documents are created using tax generally tax are in pairs as opening and closing tax. For example, this is opening tack on this is closing tack, opening tech and closing type opening and closing tax for container. Between the opening and closing tax, they enter the contact off the containers that for each container starts with opening tack , followed by content and on street closing tech. In order to enter opening tech between the angle brackets, we need to enter the tag name and in order to answer the closing tech between the angle brackets, we need to answer forward slash tag name after we informed the browser that the type of the document is a shame. A we need to answer html attack. This is opening html attack, and this is closing. Html Tech. The content between the opening and closing HTML tax Describe the content off the Web page opening HTM Attack informs the browser This is the beginning off the HTML document on closing HTML. Tech informs the browser This is the aunt off the HTML document. The content in document said, We're not the displayed on the way pidge the document. It starts with opening head Tech and answer it closing headache. In order to enter opening hitech, we need to type head between the angle brackets and in order to enter the closing hitech between the angle brackets, we need to enter forward slash head Aldo. The content in the head container is not displayed on the page. There are other important information in the head containers. For example. Title. You can't enter the page title between the opening and causing title tax and it will be displayed in the title section, for example. Let's answer. This will be displayed. I just entered. This will be displayed in the title container here, and it is displayed in the top. Since this browser has tops. However, in real life, only this part will be displayed in the top fund. A ton of this section I will provide some simple wit, page example so you will have a better understanding about the content provided in this section. In addition to title into head containers, you can also enter Met Attack Keepers. Other description etcetera, for example, Value answer related keywords about your page. It will help people to search for your page in the Internet after the hit containers. Another important part off the HTML document is by the container. Whatever we need to display on the page will be entered into body containers and body container starts with opening but attack and and sweet closing but attack in order to enter opening. But attack between the angle brackets we type buddy on. In orderto enter the closing bad attack between the angle brackets. Retype forward slash. But it whatever needs to be displayed on the way page is answered within the body containers such as text, media or other related contents. Let me provide some quick sample here in order to display a paragraph on the vic pH. We need toe. Answer the related content between the opening on closing paragraph tech. So this is the content to be displayed is a paragraph on the page on it is entered between the opening paragraph Tack on closing paragraph tax In order to enter opening paragraph tech, behave to type P between the angle brackets and in order to enter the closing paragraph Tech. We need to type forward slash b between the angle records. So here we have three different paragraphs and these are entered within the body container . The first paragraph, the second paragraph and the tort Perica before roundup This lecture like me quickly read Whatever is said in this paragraphs. The first paragraph says the vic page is displayed based on the HTML document. HTML documents are created using tax general attacks are in pairs is opening and closing tax so is recovered. Here and here in general, the tax are in pairs. HTM out, buddy. It's it. Let's continue with the second paragraph. It says HTML document has two main parts which are head, container and body container. So here the head containers aunt here the body containers the content in the head container is not displayed on the webpage. So is the senior. It's not displayed on the pitch, but it is a lot of information such as meta title, etcetera and Tyto. Is this plate in the title. Whatever you need to display needs to be answered into the body container. So we have three paragraphs on this webpage and these are entered within the body contains . In addition, the tour paragraph states some things new. HTML is not a programming language. HTML means hypertext markup language on It's a markup language. This is down the road a lecture in the following lectures. We will cover more about HD Emma in case if you want to practice the first lecture using Nope, it plus plus by selecting HTML from the language minute, I provide this example First, quot on pace the content into no paid plus plus file on from language Minute Citic Ishijima In order to see the tax much better and see I save it is introduction that HTML in order to indicate that it is html document, I answered that html it and save it. Go to your working folders toe, see the fire. So it is say this HTML document and it shows the default props. Are you select? Double click on it. So the content is this plate by the Web browser. This is down off this example video. Thanks for watching. In this lecture, I will introduce settings in HD Emma similar to paragraph container for headings. Also, we enter the content between the opening and closing tax in order to define heading views six type of tax in HTML, which are H one. H two a street h for H five and 86 and heading tack with greater number. Polites. Smaller size is seen in this example. So the content which is entered using H one tech, is displayed in bigger size down the content which is entered using 86 tech is seen in this example. On the other hand, you can use these headings is Mina is unique. For example, you can't have multiple h one heading in the document and you can't hear other headings in multiple times as well. This is the direction Thanks for watching. I already introduced paragraph on heading tax in HTML. They're displayed in the fold Colors in the previous examples, however, they are not always displayed is black text and light background. We can manage the style off the content to be displayed on the webpage by using the style editor of it Style Attribute is entered with an opening tag after the tag name and this style, which is defined within the opening tag, will be applied for the related containers. Let's explain it more clearly with the example I assumed it. We need to make the text color balloon for the content in the body containers, so we need to first type style within the opening, but attack it is followed by assignment operator. After that, we need to enter double courts. Since we need to change the color off the text, we have to type color. After that, we need to put colon operators, and finally they enter the color name, which is blue. It's seen here. This style is applied for the content, which is this cried within the body containers. I assumed it. The background color should be yellow, so at that time after color style, enter semi colon after this type background color. After you type background colors put colon operated on finally type yellow. It's seen here. The style is applied on the content, which is described it in the body container so the text color is blue and the background color is yellow. In this example, we made all the chains for the body containers. However, we can also do the same thing for heather or paragraph containers. Well, it's cut and paste this part course heading, so it is only applied for heading. Let's cut on, paste it for paragraph containers, So this style is only applied for paragraph. This tool at j spin dot com is very useful. By using this tool, you can also try other colors in order to practice. This is down over the lecture in the full of in Victor's, we will cover more about HTML in addition to color and background color. We can also change phone, family and text alignment for the content in order to manage the phone. Family after Style on Assignment Operator Between the quotation marks, we have the first type formed family on. We need to put Kahlan operator next. We need to enter the phone family name in each Demmer we can initially, it takes alignment as well. On it could be left, right or center. So in order to do that after style on assignment operator between the quotation marks, we need to first type text align, and we need to put the colon operator the answer live, right or center is needed for the webpage. This is the end of the lecture. Thanks for watching. In this lecture, I will introduce half the four month a text in HTML. We can hear bold, italic, strong, emphasised, dilated, subsequent did and also super scripted text. Let's see, in this park up we need to display this part is both on the webpage at that time. Just before this part, we need to type B between the angle brackets on. Just after this part, we need to type forward slash b between the angle brackets. If we needed this part to be displayed as italic on the page instead of B, we would type I between the angle bracket just before this part. And just after this part, we would need to type forward slash i between the angle brackets. He holder to display some text is strong on the VIP each just before that takes part, we need to type strong between the angle brackets and just after that text, we need to type forward slash strong within the angled records in order to display some takes. Part is emphasized just before that takes part. We need to type E M between the angle brackets on just after that text, we need to type forward slash e m between the angle brackets in order to display some text as dilated on the page. We need to type del between the angle brackets just before that takes part. Just after that takes part, we need to type forward, slash tell between the angle brackets. We can also display a text as sub scripted on the webpage. In order to do that just before that takes part, we need to type SUV between the angle brackets and just after the text part, we need to enter forward slash SUV between the angle brackets. Similarly, in orderto display, some text part as a superscript ID on the Vape age just before that takes part, we need to type s u p between the angle brackets and just after the text part, we need to type forward slash s u p between the angle brackets any time you can pose this video to see how they HTML code is answered and how the content is displayed on the page. In addition, I will also provide a text summary for this lecture and you can view that as well. This is Donald Election thanks for which, in this lecture I will introduce line break on horizontal route. Let's start with line break in this example. Within this paragraph container, we entered line line line to line three and line for in different lines. However, they are displayed in the same line in order to display Leinwand Line to line three line for in different lines on the page, we need to use line. Break line Break is entered by B r Between the angle brackets. Let's do the same thing for line three and line for so after I've used line. Great. These contents are displayed in different lines. In some cases, you need to enter horizontal route in order to separate some contents in the webpage. So in order to enter horizontal room between the angle brackets, you need to type H is seen here. Horizontal room is answered. We can do the same thing for here. Between the angle Burkett's, you need to type kjar and again between the angle work it's you need to enter HR if you want to do it after line for Israel, you can do that on? You can't do that before the line one. So this is Donald Election. Thanks for watching in this lecture, I will introduce how to display an image on the way Pidge in order to display image on the way page within the body containers between the angle brackets, we need to first type. I am G on. It is followed by SRC and assignment operator, which means we will get the source for the image. Next, we need to answer the major source. The image source can be a link on the Internet or it could be a file location from the computer here. I will enter a link for that purpose. And I also need to say that we need to enter the image source between the quotation marks. In order to get the image, I go to a website which is free photos. That s C. So in order not to get any cooperate issue, I will use the image from here. So it says simply here, all photos on this side are free for use by anyone for any purpose. Use them anywhere and anyhow, you like for commercial or noncommercial use. Let's click on the first image here on corporate image Aurora on paste it here, so images this plate on the webpage. We can also manage that he made real be displayed, in which size we can also manage the image display size on the page in terms of percentage by simply typing persons sign. So here the Ritz off the image is 200 persons on the height is 200 pixels and no, both of them will be 200 persons. So now 50 persons Now let's make it. It is 50 pixels on height is 200 pictures, so it will be displayed like that