Full Stack of Kotlin 2020 | Nader Hantash | Skillshare
Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
33 Lessons (4h 13m)
    • 1. Intro

      5:07
    • 2. Main Function

      1:53
    • 3. Comments in kotlin

      3:00
    • 4. Prntln and print in Kotlin

      4:26
    • 5. Define Val Variables in Kotlin

      13:48
    • 6. More About Variables Val Var in Kotlin

      10:06
    • 7. Null Safety at Kotlin

      5:32
    • 8. Convert Data type in Kotlin

      12:57
    • 9. Arthmetic operation

      10:13
    • 10. Logic Operations

      17:31
    • 11. Logic Operations part2

      5:13
    • 12. Strings Part1

      15:53
    • 13. Strings Part2

      17:19
    • 14. If statement in Kotlin

      7:34
    • 15. If else in kotlin

      5:03
    • 16. If else if statement at kotlin

      11:55
    • 17. Nested if in Kotlin

      6:00
    • 18. When Statement in Kotlin

      7:35
    • 19. For Loops part1

      8:29
    • 20. For Loops part2

      10:33
    • 21. While loop in Kotlin

      9:37
    • 22. Do while Loop in Kotlin

      5:51
    • 23. Loops Control Break in kotlin

      4:49
    • 24. Loops Control Continue in Kotlin

      3:29
    • 25. Loops Control Stop Break in Kotlin

      5:13
    • 26. Loops Control Skip Continue in Kotlin

      1:42
    • 27. Declaring Arrays of Int in Kotlin

      11:58
    • 28. Array of Strings in Kotlin

      7:12
    • 29. Println Array with for Loop in kotlin

      2:20
    • 30. Print array item with special rules at kotlin

      2:28
    • 31. Array of size in Kotlin

      2:52
    • 32. Print array items by using While in Kotlin

      2:00
    • 33. Operations on Arrays at Kotlin

      13:48

About This Class

Learn Programming With Kotlin from A to Z .

What is Kotlin?

Kotlin is a general purpose, free, open source, statically typed “pragmatic” programming language initially designed for the JVM (Java Virtual Machine) and Android that combines object-oriented and functional programming features. It is focused on interoperability, safety, clarity, and tooling support. Versions of Kotlin targeting JavaScript ES5.1 and native code (using LLVM) for a number of processors are in production as well. Kotlin originated at JetBrains, the company behind IntelliJ IDEA, in 2011, and has been open source since 2012.

Kotlin offers big advantages over Java for JVM and Android development, and plays nicely with Java in the same projects

Why You Should Learn  Kotlin?

  1. Kotlin experience is in demand.
  2. You’ll develop projects faster.
  3. You’ll improve the quality of the apps you build.
  4. You can use it with existing Java libraries.
  5. It’s officially supported by Google for Android development.
  6. There are many resources for building your skills.

Benefits of Kotlin For Android App Development

1.Less Code

2.Co-ordinates with existing Java Code

3.Multi-Platform Development

4.More Reliable

5.More Safety

6.Easy to Learn

7.Strong Community

Course Requirements

  • Must Have A PC with Windows8 or above OR MAC OR Linux.
  • Recommend to have an actual Android Device but its not required.
  • No Programming Knowledge Required.

What You Will Learn ?

  • Kotlin as A programming Language from A to Z.
  • Fully Understanding of OOP with Kotlin.
  • How to Deploy your App by Android Studio
  • How to Deploy your App by IntelliJ IDEA.
  • How to Build Real & Interactive Mobile Apps by using Kotlin.
  • Submit your Apps to the Google Play Store.
  • Apply for Android App Development Jobs.

How To Run Kotlin ?

Transcripts

1. Intro : Hi. Welcome to the new course off. Full stock, off chortling program language. In this course, I will teach you everything about cuddling or be my am is not handed on. I will be your instructor in this cars. So let's define the courtly. So what's Goodling? Scotland is a general purpose. Three. Open source. Aesthetically Tired, A programming language initially designed for the D. V M, which stands for Java Virtual machine on droid that combines the or be on functional programming features Courtland Ordinated at Jetbrains company in two or 11 on. It has mean often source. Since two 2012. Coquelin offers big advantages over Jabba for GM on dried development. On applies nicely with Java in the same project. So why you should learn cuddling. There are many features on advantage to use on to learn Scotland. 1st 1 Cortland experience is in demand. Two. You'll develop projects faster. Three. You'll improve the quality off the abs you bolt for. You can use it when existing Java libraries. Five. It's officially supported by Google for Android development. Six. There are many. Resource is for building your skills. So now let's let's talk about the benefits off Katelyn for android app development. This cording coordinates with existing Jam Accord Multi platform development Maura Level More 70 Easy to wear on strong community. So what? What are the course requirements for the cuddling? The first thing which is very important. You must have a PC with Windows eight or Windows 10 or Macintosh or legs device. Also, I recommend you toe have on actual android device, but it's not required because of you can test your application through the computer. OK, the last thing no programming knowledge required because off I'm going to teach you everything from scratch. So what you will learn in this cars or in this journey coddling you live the Courtland as a programming language from A to Z, you will get fully understanding off be with Scotland. You learn how to deploy your up by using android studio. Also, you learn how to deploy your are by interest idea. Then you will learn how to build really on interactive mobile abs by using cuddling so that I have been prepared more than six hours with riel activity in this course. Also, you learn how to submit your abs toe the government play store the last thing you will get the benefits off this course. You will learn how to apply for android app development jobs. Throw off the feed answer dot com or upward or fiber or some some some platforms online or you can to hire for some some programming coming again. So let's talk a little bit for how to run chortling. There are three ways to run the court in the 1st 1 which is Courtland lying. Throw the online. There definitely are. The second way is by using interest idea I D, which provides by jetbrains company. Also, you learn how the third way you can do it by using Androids toward you. By the way, I'm going to teach you the three ways how to time how to write your courts. Okay, so now let's talk about the cuddling Rodman. In this course, I'm going to teach you all about introduction azi information about Portland. Then we will start with basic counting, according working with the cuddly line. Then I will teach you the intermediate cotton, then quoting or be the advanced Courtland. Then I will teach you how to how to install vintage idea on your device. Then we will start built the first project in entered Idea on the second project on the third way are going toe build three Project with interest idea. Then I'm not going to teach you how to install under his Told you the new device. Then we will continue creating really projects like you put for Project 56 three projects free Really application. We are going to build it by using Andrea. So the last thing which are going to do our or which I'm going toe over you which is the point? Us in the bonds I'm goingto provide you really codes again. Born us courts on a lot off. Surprising for you. Okay, that's all for this. About this short into the tree on will come again to my course off cutlet. 2. Main Function: Hello, guys on Welcome to the new section on you lecture off this course in the sec? Sure, I'm going to teach you all about the man, a program in Cortland, So this it's start directly online. With quickly to start, you have to go through the crackling language that are on now. Bush Here, try Align. You'll see this function may and function Brent line as against here, but she had one more example to see the actual space on. Then come back to the playground to see the actual screen or programs. Now way will see together function Main program. So what does mean function men? Let's talk about this method. This is the actual within which stored entirely. Courtland and we can start our program. Throw the cure places between this on this so all of your code, or of your application or system or program, it will be inside these scary places. So that's the meaning off this meet with main function. It may be represents as a switch your switched keys to the cotton that will call Brooklyn. Yeah, we are going to start the program. That's what about it on. If you'd like to run this program here. You can't push here to the run to see the result on exactly. There is no data because off we didn't type any. Think Here. Okay, that's all about this lecture on See you next. Lecture toe to learn more about the valuables. A bread screen on many more. 3. Comments in kotlin: hi will come again and basically I'm going to show you and explain to you everything about something called comments. Comments in programming seems to be the most important thing for the all off the huge companies. Because off, if you work with with teams in your company or in your project, you needs to explain. Every single called that you will read or write it into the program as example. This is the main function. If you wanted to explain something here, you can tire Andi, then put here to add some comments. Be careful that the comment does not showing up to to the end user. It's only four for the drama on. It can be represented by this symbol Dash Dash as example as you can see here, this is main function as example. If you come to run, you will never see any out vote from these comments on. If you would like to make some multi line comments off this, this issues, you can see something like this. You can see you can start here, then adding gum, adding start assets. As you can see here, it's just as you can see Then I live here. Hello. This is this is my up as examples. Then back also, you would see the other gather as just on been tired. The other line the other line, As you can see here also, if you would like the end line as example as you can see here on the last thing. If you want to close this comment, you can put this here on the back. But be sure that it should be exactly clause toe the assist on. Then that's that's all about. It's not, by the way. Yes. Yeah, that's it. Okay, that's it. That's all about the comment. If you would like to add some comments and once again comment does not showing anything on the art, but okay. But keep in your mind that we need the comments to explain everything about the valuables, about the numbers, about the function, about the class. Andi, if you would like to write clean code, you have tow comment everything you put it or you're tired on throw this program to be clarified or to be more easy, to be understand for the other programs that you collaborate with them and you in your system, that's all. And that's all for this lecture on See you in next picture 4. Prntln and print in Kotlin: hi will come again And this is how I'm going to show you all of about print on a plane plane. So let's start talking about the print. So what? I mean by print. Andi, I hope that I will. I would show you everything include the actual example as examine here. You can see here. Welcome to new course off Coughlin. As you can see here on finally. Okay, there's no seek on or something else on. Also, I'm going to show your print a zoo can see here. Here's Brent with Welcome to as example on. Then enter Also Prince, As you can see here. Brent Teoh. Welcome to Coughlin, chortling example 2020 as exam. OK, that's all. So now let's discuss about the rent Brent Breath seems to be represent the actual information to be Brent out to the customer, but now we have two options. Brantling Andi Print. So let's talk about the Brundtland Brundtland means or represent that we are going to print out the actual court or the actual text entire dysfunction on, then make the new wine by different okay, but in this this phrase off brand print without land print as example here which will bring the actual text inside without a new line so that we will see that on the art. But you will see a rental and will come to even you course off Portland on, then, new line. After that, we will see. Welcome to quickly, because off this new, no new line. Okay, so let's show up this expression by time here by clicking on run to see the results. As you can see here ago, welcome to the new course off Scotland, which represents the print line. Brundtland print the entire or the inside text on, Then make new line. Welcome to Scotland. As you can see here, there is no new line between two expression here. Okay, as you can see here also, if I would like to add as example, print Brundtland without, as you can see here, Brent Brent Len as example without any data, as you can see here on, then I I'm going to go to the right. Okay, here we go. Welcome to the new line on then chortling 2020 on. That's That's the actual difference between plant on print line on you are free to choose Brent or print line. It depends on your system or in your software. Also, keep in your mind that now if you if you would like to add some comments here, you can see here print as your friend blend Lynn. He loves us, but your friends, the entire text, then making you like make new line. This is only for this text here as a comment. It's only for for showing our it's only for no, it's OK or life or clarifying. Now I'm going to add some commenced. It's shot more line. Come on. As you can see here, friends come on. A love us two prints, the entire dying tires text without new life. Okay, that's what it's all about. These comments on this is the clean card that you can try to blended or try to design to throw the Cutler. Okay, 5. Define Val Variables in Kotlin : hi guys will come to the new Actually the sexual. I'm going to teach you how to use the valuables. So let's define the variables, the type of eyeballs. Then we will start using throw the entire Katelyn. So now let's talk or define the valuable the valuable as simply it's something like stores okay or container, which represents some values OK, which can be stored into the memory. Okay, so each question or each location on the memory it seems to be represented by some address on value. Also, this address can be represent or shown for the customer or for the programmer to be using. That's that's all about the valuable okay on. But there are multiple multi time off month kind off valuable there is on into your valuables. Also, we have the 14 point number. Also, we have a string variable. We have a character valuable. We have a bullion value. Okay, there is a different kind off valuable. So let's talk about the injury or injure volume. It represents the actual into your value. Okay, Also, we have the short short value also seems to be the your but But now let's try toe type these values for these variables, as example, do know everything about it. Okay, Define as you can see here, define values. Fine variables. Okay, that's what about how did you find valuables with some location on. Now, this tried to define some variables. Also, I'm going to sort something here with valuables. When we talk about the variable, I will do something by my mission. Get tired the time off. Very well. Okay, so that's all on once again this comment, it's for cli fi. OK, now it's tried to define some valuables as example to define the valuables you can use, Val, Val seems to be represented as defining some variable. Here is the A Z example Val number as example. Violin. OK, which is the name off this valuable on now, Colin. Then add interject into capital, as you can see here, which is equal to 200 as example on. Then make us No. There is no silicon, by the way. Okay. It's not the PHP. Okay, that that's all on. Now let's talk about No, we're talking about 200. Okay? There is nothing. Okay, that's all. So let's talk about it. Variable is never used by the way. Okay, that it is the limitation, but keeping your my But here's the actual declaration for the valuable. Okay, on this is represents the name off this variable. Okay, after that, we have to put the common on, then specify the tide off this variable again. On this type is in Joke it. So now the stalker on this define multiple variables to see what it does for each one. Here's the other declaration for the other valuable, which would be Votto example column on. And it will be from with that kind off short as you can see here short will be equal to 2 20 as example on. Uh, this may be 2000 as you can see here. Okay, that's cool on now. Or enter toe vow three, as you can see here. So let me explain that for it will be from kind off long because of I'm going to explain everything as well. For that, I'm going to add a as a gutsy year. It's it. Okay. As you can see, it's fine. Yeah. Oh, my gods. Homemade. God. Okay, now it's out. Something. Ball four. Um, just matter. I'm going to florets I'm going to define as flawed. We thought it would be 200 dots. Zero f Example. Okay, that's cool. Oh, my God. My God Should be space. Then enter cocaine. And OK, then. Well, here is value five the name of this kind and then make kind off double bubble. It will be represented as 200 thought 00 Example Space Inter on now short. Now let's try to other son or define some value. Okay, which will be value off string. Maybe you ask drink string which will be equal to we come to Scotland. Okay, that's cool. Space Inter then Symone, as you can see here, which will be represented as, uh, character Okay, in this character. Okay. Okay. Its character which is equal to Katelyn, which is done for K as example. Space center on now, the last thing which is valid, it label it which will be bullion, by the way on, um, beauticians to explain everything to you Is the force as example? Okay, okay. That that's That's cool. Yeah, that's cool. Ok, now, as you can see here we have been we have been explained everything as well, but now I think I make some mistakes, Have example here. Yeah. Now everything is fine. Okay. Here is the bullion. Yeah, 1,000,000 is seems to be defined as false as you can see here. Yeah, well, it Yes, everything is fine. So that that's also now, let's try to figure out to figure out the the actual solution, As you can see here. Okay, so let's talk about these valuables. First thing here we define the value one, as the name off this valuable seems to be gallant, the kind off insurance on this is the value. Okay, so let's talk about the injury as a description in the jar represents the the actual interview. Okay on. Then let's talk about the short short. Also, it's the kind off injure, but it's it's designed for the small number. Okay, the small value off injured, okay, that's all about about a short long also seems to be the kind or the time off inter value, but it seems to be represented for the longest value off engine. Now, let's talk about float on. Um, bubble float represents designed to the floating floating point number. Okay. On double also seems to be designed to the floating point number but designed to be used for the biggest number or the maximum value off floating point number. That's all about double now for the thing. If he wants to define some valuable as a text, okay, or as drink, we can use it by this This valuable. This declaration here is the Depression, Val Val six. The name off this valuable and used the kind or the time off this valuable camp on. Be sure that the first collector off this off, any kind off value, it should be Capital letter. Okay, as you can see here on, here we go. That's all on, then. The last thing here. As you can see a value off if you would like toa define some character like ABC. The text we can define by valuable on then volume as car, which is as collected single character on the last dust variable seems to be if way would like to refer by one value life to or force one or zero. Okay, we can do it by by defined this throw the bullion. Okay, That's all about the bullion value bullion value refers us to one value through or force that set. Okay, there is no no matter about. So now all that's that's all about the bullion about the collectors on the other stuff. So now let's talk about how to define these values. If you would like to define the sand value without without defining or without specifying the time off Bible, if it would be a work or not, yeah, exactly, it will be. It will be working. How can How can you do that? It's not about okay, here we go. Define some viable somebody was, without specified the time a viable all variable, which means that we can define Bibles here without without mention that this valuable is injured or it's short or is double or instinct on why? Because off the system would be automatically understand that this valuable is from the kind or from the type of injury or or or floating point or character or thing. It depends on the status off on the constants for that variable. So let's talk about now. Let's go for now. Lets me scroll down a little bit. To see you here is Value Aceh. Example. As you can see here. So now I'm going to add a B one example, as you can see here, which equal to 100 example kit. Okay, that's it. 20 Which will be, as example, you two bars to for the equal to as example 2.5. Okay, on. Now I'm going to define something like Val. Next example. Let me see. Okay. What's what's that sponsored? I just like to see this parts of much time. Okay, by the way, OK. Val X, which is able to Scotland 2020. Okay, that's cool you regard on his valve. Why, As exactly that Valerie fell. Why? No, like, yeah, there is some problem that needs to add this number, by the way, because off its declaration hero go. OK, value I will be. Mm. Be as example. Okay. On also is dull is that we're people, too, uh, through as example. Okay, that's all. So now if we are going to make a run for the system, that is some unresolved difference, because off we have to use it. OK, by the way, it's not a matter here, but because off didn't use it for inbred line or something. That's okay. That's all about it on, um and that's it for these numbers on these values. OK, on that's that's all for how to define valuables on all of about the kind or the time off each valuable See you and next lecture to talk more advanced about violence. 6. More About Variables Val Var in Kotlin : Hi guys on will come toe the new election. And this until I'm going to deep dive with Virals In the last lecture, we have been talking about the variable How to declare a valuable have to define variables by using the key ward off Van, as you can see here. Okay, it's file Valmont with ceasefire or not despite the actual variable like this. Okay, so in this lecture, I'm going to show you something is very important or something is different, which is the declaration off Valuable buys, Ingvar. Okay, here's the the actual issues like Bar Sultan and you're to be to thousands of our about 20 short. It's exactly the same. It's the similar to the obvious or the biggest one. But the main difference here is to using the keywords off far. Okay, so let me declare something is wrong person. Which is what is the mean difference between Val Andi var. Okay, But before that, let me mention something is very important. When you try toe, declare some variable. You don't mean to add the time off valuable because it's not necessary. Okay, It's got to go with it, but it's not necessary. Okay, So now, once again, it's Let's clarify on make something here toe to define the declaration between or to make The difference between bar involved is your used to declare because here to declare some constant vibe constant value which can which cannot be cannot be changed. Okay, Like like what? Like pie And you can see by is equal to 3.4 14. Okay, this value does not beat shit kind of speech, by the way. OK, but the other valuable it maybe change. Okay, when we use the valve you define or in declare or in declaring some valuable, we cannot change the existing value on the storage or or in the address value at the at the memory. Okay, So now for to make the professional issues we have mean to use way have to use the bar bar used, used to declare as examine here to declare some valuable, which can be which can be changed the value, the value, the value Because here, So, once again, let's try to do it. Okay, Now, let's try to make at least run now. You didn't see anything because we didn't have or we don't make any print out for this Valuable. Okay, but this is trying to change the battle like this. Here we go. It's, um One example is equal to 3000 again. Now this is It's trying to see its tried to run. Okay? Violence cannot be resigns. Already assigned again. That's the actual error, because off off, using when we use the this option. Okay, well, we can't. We can't. It changed the value. Okay, But it's right on the other way. By contrast, let's try to do other things. Okay? Look at this bar Barton. Ok, now I'm going to make a vault in OK, which is the name of this Valuable is equal to 3000. OK, now it seems to be acceptable again. Now it's strike toe make run. Okay. Okay, here we go. It's it's done. OK, that's all about on now. It's with the Same with the signature. Let's try to plant these values as example. Okay, if you would like to print okay, here it regard it's got to try to What's going with you? French Lynn. Example. Okay. I'd like to use it. By the way. Parental in the value off of what Off tin is equal to now. I'm going to make some concatenation. Okay? With with consideration. I'm going toe add Blust here after the text on I should have. Or I should find out the the valuable name. Which is Val 10. Yes. Yes, it's volume. Now, let's try to make a run to see the result. Okay? The value off Walton is equal to or 3000 again. Let's try to compare. Here's the Val 10. Okay, Vault in initial it waas 2000. But after we have been changed, it seems to be true. Okay, Also, we can do as is for the other thing. Okay, Like this. Here we go. Franklin, As you can see here, Franklin, because off we can print the actual content off the print statement, then make lying OK? Make you like. Okay, here is the value. Oh, Vaal 180 as example is equal to you. Could do what? Here we go. Spacing Blust less What? Blust von 80. Okay, here we go. Now let's try to run to see the results. Yeah, okay. But on one result. What is that? What's gonna happen? You okay? Vile? Yeah, There's some issues. Yeah, Well, 10 Yes. Now it's It's the same name off the Bible on now. It's like to run to see must What's gonna happen? Okay, strike to do it. Okay. I'm going to, Cubby. That, by the way, could be Okay, then. Both it as is as you can see here, I notice I no tried to run once again to see the result. Yeah. Currently, the value off ball 101 180 is equal to force. Yeah, exactly. It looks like this. It's like to change it from forced the true on. Now let's try to run again once again. Talk it. Here we go. It's true. Okay, that's it. This is a way off how to print again. By the way, this is one method off. How to bring out the value. Also, you can do it, by the way. Can't likely by adding something like like this. Okay, let's try to do it. Parental. And as you can see here on the only we can put the value like this valve. 20 example on your Here's her. Is that OK? Val? 20. Yes. Val 20. Yeah, it's get It's gonna be used here on now. Let's try to run. Yeah, here's the 20 but we don't know. What does it mean? 20? 20 For what? Okay, we don't We don't have any explanation, okay? For which is non bar or fish, Which valuable or what does me? OK, on. Also we can do something is very important, which is Brent line like this on. Um, here we go. Um, the floating the floating number is as example, the routing number. There's space on dollar sign, then the name of the barrier in the variable, which is valuable. Try to choose here, Val. 40. Okay, Val 40. Val 40 as example here on now it's tried to run. Okay. Yeah, that's cool. The fucking number is 200. Okay, on way Have bean. If you're If you would like to see the actual we can see the actual result here, the phone number is valve. When you when we use the dollar sign, then we don't needs to make something off interpellation or concatenation. Okay, This is the way one by using text blast valve to make something some computation on the other way or the other option is to use the dollar sign, then followed by the variable name. Okay, that's the way off. How to print out the value. Also, I'm going to show you how to print out another thing. Like friends. Land Example. My text string here. Mighty strength is then. Okay. Space that are sign. OK, what is the next year was my text. Here is the text. OK, Val. 60. Okay, go ahead. Toe Vaal 60. Then try to run to see the result. Yeah. Here go. My dest string is welcome to Cartland. Okay, that's arson. Critical. Okay, that's all about about this lecture on See you in, mixture. Bye for now. 7. Null Safety at Kotlin : hi would come to the neutral in decision. I'm going to talking about note. Okay. Knowing 70. Okay. With non 70. By the way, which talk about the how to save your You're three value. OK, so now let's talk about the actual. Actually, actually, the valuables does not accept any mull value. Okay, that's the way on. Also, we run the system or run the combine. Er it will gives us some error message of cape. But here, when Kirtland we have been solved. These problems okay on for doing that, we have choose the exclamation question mark to accept to make some some exception for the valuable to accept any mold value or any nothing values. OK, also, we have been used the double exclamation mark which called no. 70 which does not accept to the variable to be No. Okay, that's the way. Once again, let me clarify two options here. Okay, Now we're talking about the No savagely Okay, here is the title off this lecture. Okay. Currently feels let's talk about how to accept. Okay. To accept the no value the value we used. We used the question mark. Okay. On this question mark it comes after the viable type of care. Also, we are using the double extra exploration. Not we don't accept. We don't accept. We don't. I said small value by using double So now it's deep. Dive on this by making some codes for logic. It now has tried toe declare some viable. Here is my name as example as you can see here my name on for this my name. It will be a string here. As you can see on, I'm going to add a question mark Question mark. After the valuable time, this means that they may be there may be this valuable minimal. Ok, so now let's try to add my name as example. Okay. My name. It will be Yes. 11 him, you know? OK, my name is you got to know, as you can see here. Okay. That's not looking. That's cool. Yeah. Now it's acceptable, by the way. Okay. By contrast, I'm going to add I'm going to create or to declare. Yeah, I'm going t declare. Something is difference, which is var my full name as example. It's all examples. Okay? Yeah, My full name Colon on in the time. The time will be also string here. As you can see now spacing here on then I'm going to make that my name. My full name's Ardie. My full name is equal to now the game here ago. And now let me try to make something brand plane as example here on inside the print land. I'm going to call my my full name, as you can see here my full name on, then followed by double exclamation mark, This is that this value does not be acceptable to be No. Okay, that's the idea. So now it's a try to Brent, all of these. But before that, I should be a footprint. Len. Also my name. As you can see here. My name? Yes, Here is my name. OK, on now let's try to run to see the results, Okay? Yeah. Here you go. Here. Now you can see the null on. Then you can see the natural hand escape. If we put that without this exclamation mark, we could use the actual value. Okay, that's all about the noble on. That's all about how to save on how to use no 70 Heathrow chortling by double exclamation mark on also you can make some exception for that to be? No. By adding a question mark at the end off declaring this valuable. Okay, that's all about Texas this election. See you in Exeter. Bye for now. 8. Convert Data type in Kotlin : hi will come to the neutral investigation. I'm going to teach you how to convert data type for valuable from one to another. Okay, so let's talk about the this issues on where it can use for Kim. We usually needs to comfort the at a time when we try to use form inputs for specific data , especially from strength. Then we needs to convert these value. Or he's in with data from text or string toe the nut number as example into a jar or floating point number. Also, we many we may needs to comfort text forcing toe bullion value, tour force or by contrast, that's all. So that's what about the this concept off convert that time. So now let's try to apply it again for when the real example. Now let's try toe to declare some variable like Var X, which is equal to okay to take as example okay on. Now if I as you can see here, this valuable off X seems to be a strength because off it seems to be placed them inside the double quotation. Okay, on. Now let's try toe convert this text or this that Valium from type from one from time to another. Better time. Okay, so how to do it? I can't do it by time. The the name off this variable x dot on we have the actual actual method. Okay, two injured as example Should like to convert to the injured on then. Entire. This is this Little will convert this variable. Okay, on. Now, if you would like to see this value an example, we can do it. Granted land as example here on now. Print Lynn the X value. Okay, on, Let's try toe just by Blake. You on run on. We can see. As you can see here it's 10. Okay. By the way, you may I talk to me That okay? By the way, if we if we are going toe Brent, this value a text, it will also show up the number 10. Okay, that's that's fine. But now let's try to toe to declare some another bible, like declare variable with the name of why? Why would be equal to X bluff? Five as example. Okay on. Now, Brent, let's try to print why, Or at least, um, as you can see here the value off why, as you can see here, which is equal to now. There are sign with why. Ok, now let's try to click here on run to see the result. Okay? The value of Y is equal to one or five. So let's try to see Exit should be a singer. Which much? It must be a 10. OK, on the X plus five. It seems to be one or five. Ok, that's all. So that's right toe convert to the other value, by the way, which will be which were brought. Okay, which would be a zigzag amble, maybe floating. Okay, by the way, look, let me show you. Show you something different. Like this again with floating point like var de as example, which would be equal to here. 100 if OK, and now I'm going to Adam Dean that to float, as you can see here to floods. Okay on, then, Brent de, as you can see here. Okay, on, uh, let's try to Oh, yeah. Print led by the way to make to make sure that we are going to find the new line. Okay, here's 100 f. OK, which is the floating point number? Okay, so now is to try to define the other valuable, by the way, which will be, as you can see here it will be the value off. Yeah, let's let's try to do something is different. No. Now I'm going to declare something, which is var. Is it the clear Russian viable off that which would be equal to true as example or force or whatever? Okay, on. Now I'm going to convert this value. Okay? I'm going to convert this value or this Bible from, um Yeah, then dots to bullion, as you can see here. Okay, that's it. Now, brains, learn for these did value. Let me scroll down to see the result here, Brundtland, click you to see the results. Yeah, Okay. It's true. Get us fine. Okay. Also, we can apply it for the other, the other option. But now let's try to do something is different by adding some something is different. Like if we would like to add a string on and then we needs toe Adam something to this strength as example. Yeah. Bye. Hi. Will come again. Now. It's just tried to address all of these options, but before that, it's something is reported which is Let me show you something about yet the kind or the time that we can be converted. Okay. There are many kinds or tired that we can't convert, like strength to endure. In general, straying or injured or flawed to character are true or forced. William, too, to think. Oh, our counter get. So now let's address thes issues. As you can see here, If we are going to make some tracing, let's try to run here to see the result. Okay? The value of why it is you got to 100 or five. Okay, let me see the value of X equals 10. Okay. Extent year. It should be converted to the Internet value. Okay, but we have to store these value in the new valuable to be used. Okay on. Now. If you if we put the why equal to X plus five, then it will be contaminated. The value of X as a string as it has been placed on the storage. Okay. Or in the invocation at memory on. Then way we'll see that. Why is equal Toe X which is strengthen? Blast five on. Then we will see the number off or the value off one or five Okay, on. That's not proper, by the way, as algorithm or as programming Kip on to do that, let me see some. Let me do something which is very important. OK, now I'm going to declare a new value which called the X one example X one. It should be equal to just be equal to x okay dot Since this is the value off explore by the way we can do more. Clarify by okay by adding var X salon which would be equal toe extra string. Let me see if there is something issues. Okay, anybody was okay. It's not the problem. By the way on then here I'm going toe other Why is equal to x one plus five? Okay, so the value of X one. It should be 10 exactly as intricate on then why is equal to X one plus five? That means why is it toe 10 Blast five. It should be 15. Okay, so now it's tried Toe Run this exam. Look it. Here's the value. The value off. Why is equal to 15. Okay, on now everything is going fine. Okay, So also, let's try to do the convert variable as string or as text care on this example I'm going to do something is very much when she which is var Why went as example? Okay, well, let let me. Yeah. Why? One example as the name declaration on this valuable, it should be as insecure as you can see here on this volume. I'm going to add it to be to be what? Okay. To be life for 40 years. Okay, this is the value on space Intern. And also, I'm going to Adam or declare some valuable. Okay, this valuable. It should be as Yeah, it's why, too. On why two is equal to the OK, But why? To okay, this valuable. It should be equal to you. Could do what? Okay. To be ableto Why? One dot to string? Yeah, there is. Something may be different. No. Okay, why one not to string, But I think there is some error here with the dismissal. Get on. Now. Let's try to make to make to get to make print line. Okay, for why do as you can see here now it's basic here, then enter on now It's tried to run to see the result. Okay, here we go. OK, this is for 4 40 Okay, on it seems to be converted to the string. OK, on also, we can use it in different ways again. It would like to add some something for that or other like Yeah, like maybe we had a var y three as example, which would be equal to helo. Okay, that's it. On the spacing, then Var four is equal to is equal to why three bluff? Why, too, by the way, basing on a branch line. Okay, Miss Golden for a little bit here to show you some things very much. OK, Brent. Land for Var four, as you can see here on, um no, let's try to see the result. Okay. Is that fine? Oh, my gosh. Okay. No, no, it should be wife for I think will be wife or is equal. Yeah, but also we should bar y four on she was here is why four. Yeah, Why four is OK now let's try to run. Yeah, here we go. Hello for for zero. OK, it's completely textbook it. Okay, that's all, by the way. In the sexual how to convert the type from time to time. Okay? From inside your as you can see here from straying too into jar then Djate, with this valuable as ngr. Okay, without six. Okay, That that's that's the way off. How to treat on how toe convert that type from valuable to other. Okay, that's all for this lecture on See you in next lecture by for now. 9. Arthmetic operation: Hello. Everyone on will come to the new section and decision. I'm going to teach you all of about operations in Scotland again. So this section, as you can see here we are going to talk about arthritic operations, especially in this lecture. Okay, so let's start talking about the arithmetic operations first thing. I'm going to define the arthritic operations. If you would like to make some addition or some subtraction operation or some multiplication or some division operation between two numbers, this means that means that we are going to work with arithmetic. Operations came. So let's dive with these operation first thing, which I'm going to do is to define. I'm going to define some virus which called number one, as example as you can see here, which would be a so insecure as a Kathy year will be bustin then also, I'm going to define the other valuable, which would be a number to the name of this Bible. To be number two on the value should be as insure on now. It's also gonna be toe to be 20. Okay, on. Now let's try to make the operations okay. First thing which I'm going to do is addition. Okay, It's addition. Addition. Okay? Yeah, she hasn't got as you can see here on now, let's try to create the addition of greater on. To do that. I need to clarify or declare a new variable, which will be some one has example on this value, it should be the result off the number one plus number two. Okay, as you can see here, number one a plus, number two. OK, on, then. Enter on now. I'm going to Adam. Brent, front line. Okay, as you can see here for the some move. Some of what? Some off number one. Plus. As you can see here, number two is equal to that. Are signed some one. So now we should get the actual viable. So let's start to run to see the result. Okay. Oh, my God. There's some issues. Yeah. Yeah. Okay. I forgot the okay. Yeah, Yeah, it was the strength. Okay, the some off 10 plus 20 is 30. Okay, that's fine. And also, we can do that by other way. If we add the some off number one plus number two is equal toe someone. Okay, let's try to do that. Run Okay, the some off number one last number two. Which point or indicates to the name off? Variable number on the motto is 30. Yeah, exactly. 10 plus 20 is equal to 30. That's fine. Okay, Now let's try to do something is different, which is now, OK, it's Ah, subtraction, maybe. Yeah. Here we go. Subtraction. As as you can see year, I have been declared everything with comments or north. Okay, Now let's try to declare some variable as subtract. OK, subtract one as example, which would be required to number one example minus numb to okay on the exact will be will be zero because off 10 you know it's number 10 minus Sakic. Let's try to do some Meriel information. Sub one is equal to the number two minus number one. Number two is 20. Number one is 10. 20. Understand? It should be Okay. So now let's try to brains. Yeah, print lin off as exactly can see here the sub correction subtraction off number two minus number number while is equal toe Deller, Sign off off sub one. Okay, as you can see here. So now let's try to run to see the result Yeah, OK, The sun, by the way, it's dirty. The subtraction off number two minus number one is equal Toe 10. Okay, that's cool. So now let's try to work with other with other with other operation with other arthritic operation which must be which, which must be talking about the multiplication by the working now is to declare Okay, multiplication. Okay, as you can see here. Multiplication on Been entered on now declare new viable model tip Lie documented much multiply. Okay, as example multiply is able to You got to what? Yeah, number one. Um, asterisk number two, Which means that we are going to make a 10 asterisk 20. Ok, it should gives us the 200. Okay, now make Inter on he regard praying toe land, as you can see here on then at the double condition on then the actual Oh my God! Actual multiplication. Oh, number one just number two is equal is equal to the intensity. Here is you got to What? Dollar sign off. Multiply. Yeah, that are Sign off. Dull reply. Okay, that's cool. Ok, now let's try to see the results. Click Run him here to see the results or get the actual multiplication off. Number one. Number two is equal to 200. Okay, that's fine. Okay. On the last operation, as admitted here, it zlook about the division the vision division operation. Okay, division operation. So let's try to see on to declare the bar death. Yeah, foreign did, by the way. Bargain which equal to number two. Divide number one. OK, it should give us city too. Because because off 20 divide by 10 gives us number two. OK, now let's try to Brent blend, as you can see here. The division. Oh, what off number two? Uh, divided by number one is equal to Zika toe dollar Sign off, Dave. Okay. Yeah, that's cool on now it's trying to see the results. Okay, Run here to see the result. Oh, my God. Oh, my God! OK, Yeah. The division off number two times number one is equal to two year. If you are dressing off these four operations for our decorations, the some off number one plus number two is 30 years 10 plus 2030. The subtraction off number two minus number one. Number 20 minus 10 is equal to change. That's right. On actual multiplication of number one asks the number. Pastors number two is equal to 20 because off 10 ask us 20 is equal to 200 on the division off number two. Number two divided by number one is equal to get on. If we are going to make some small modification here on subtraction if we provide that US number one minus number two, let's try to run to see the results. Yeah, that's cool. Yeah. Subtraction off number one minutes. Okay, here we go. The satellite off number one minus number two. Yeah, it should gives us the negative value. Yeah, that's that's right. The subtraction off. Number one minus number two is equal to minus 10. Why? Because off 10 minus are subtract 10. Subtract 20 is equal to negative. 10. That's cool. OK, that's right. On also, it's the actual multiplication is fine. And also the division. I hope that you will try by yourself. Put your finger on your keyboard on time. The court. Okay. You have to quote okay without cutting. You can't learn anything in program. Okay, That's all about the art Mitic operations on See you in next lecture. Also about the other artistic operations on advanced get 10. Logic Operations: Hello guys on will come to the new pictures. In the future, we are going to work with logic operations. When we talk about logic operations, we are asking about cumbersome between two values or more. Okay, So that with logic corporations, we are going to get the result for true or force Okay, in most cumbersome on to do that, this tried to define a Z example var X would be equal toe thing as example on also far why which equal to four Ok, on now this right to ask on also we are going to to Brent that example by the way to rent land as as you can see your friend planned for six. This is done Why, as you can see year. So when we asked here about excellence than why we will get there is up to or force because off this is a compress in value. Okay, this is a comparison on when we talk about cumbersome. When you compare somethingto other to other we are talking about if it was true or fourth again So now you can see that value of Ekstrom seems to be 10 on very off. Why seems to be four. Okay, 10 list done for its force. Get so that we should get the value off. Fourth list. Let's try to run here. Okay, That's cool. Yet, force, if we try to change the value of y. Okay. Also asking the same value about next list down while exes didn't on. Why is 40 on this comparison? Will refer will refer to us. True because off ex exactly is list on 10 is list on 40. It's such a run and use the result. Okay, that's cool. So now let's try to other the other calm person, as you can see here. Plant. Yeah, Brent, let as you can see off exam Greater than why? OK, they were going to strike to run to see. Okay, here we go. Let's show up the codes here. As you can see here, Brundtland Exley's done. Why it's true on X. Greater Done. Why is false? Because Yeah, because off X, which presents by 10 value 10 does not greater than 40 off. Why? Okay, that's cool. And also we can ask about about is that extra is equally called to Why next equals three actually going to why this question asking for if this to Balto direction right and left seems to be true, it will refer through other. Otherwise, it will be forced. Let's try to run, Okay? It's false. Yeah, but if I have been changed the value off why FX FX to be 40 on? Why is 14 on this? Let's try to see about this condition X is 40 and wise 40. Let's try to run. Yeah, here we go. It's true. On the other comparison statement, Exley's on Why is false? Yeah, because off X does not list on on, uh, we ask about X x greater than why 40 does not get it done. 40. That's forced on. Here's the X is equal equal Why Daphnis If it if it was the X extremely equal to the value of y And that's true. Yeah, because off the value of X is equal toe value of eye on. Also, if you are asking about the contrast as you can see here, look at this Brent Land, As you can see, X does not equal, which isn't by exclamation mark is equal to why. Here's the way. Okay, let's tried to run to see the result, by the way, and here is the force. Why? Because Off X does not equal what is false. Exes 40 on Why is What about If we change one of this value on then try again to run little Okay, lets we see. OK, Brent x doesn't equal Y yeah, because off exes 40 on why is 50 so that their value off ex exactly does not equal the value off. That's true as it comes here on, you will see that the value off X equal y is equal to force because off yeah, 40 does not equal to 50. That's that's fine on we talk or see the value off extra greater than why Exes 40. Okay on why is 50 40? Exactly. It's not greater than 50 again. But here here's the next list. Don Waya, 40 is list on 50. That's true. That's why there's a is true Get on. Also, we can try to ask about the other conditions here with a logical operations. If you ask for X list on or equal to why, OK, This expression means that we're asking the value off X on. We ask about two conditions if it takes list on our effect. X is equal to why. OK, so X is 40 on Why is 50 x is list done for 50? That's fine. OK, but it's not equal. So it's tried to test to see the result here. Yeah, it's true. Yeah. Why's that through? Because off one condition in this expression has been succeed. Okay, which is X is extremely list than why. Okay, Also, we can do similarly that similar with other puncher like here, friend through Lynn. As you can see here for X is greater than or equal to. Why, as you can see here and then on, then let's try to write ex Jock. It was that was gonna happen. Area Franklin. Yes, Sprint land to make sure that everything will be on a single line. Okay, that's cool. So X is not greater than on its not is equal to y. That's why we get the result is fourth. But now, once again, let's try to make X is equal to y. Yeah, I make the two variable is equal to 50 example. Okay, I got Okay. Okay. Okay. That's called yet. So now it's tried to run to see the result again. Yeah, you go. It's false force here. X is not equal to 50 on also is not a given. Why, but X is equal. Why? Because of the value of X is 50 under money off is 50 So x people to Why And here's Brent line that the X does not equal. Why? No, it's false because off x equal to y on also way. Ask about Brent X is less than or equal. Y yeah, X is not equal. Why? Because off X is 50 and why is it about? But also we have other condition, which is equal. Look it once again, Please focus with me here. Okay. Here we asked about two conditions. What the first condition is we're asking about if X is listening why or if X is equal to why. Okay, So one pension is succeed, which is X is equal to why which is 51 50. That's why we see here that is true. And also when you ask about X's Gaza or equal why the first condition does not succeed, which is X does not greater than why Because off exes 50 and wiser tip, but also here. We see that the other condition, which is equal. So once again, we ask about the to condition The first collision is executed a greater than white, which is not succeed. But the other condition is X is equal to y. And that's why we That's why we see here. The result is true. Okay, so that's cool about about it on. Now, let's talk about the other conditions on the other operations. Throw the logical or the logic operations. Okay, so what? I'm going to ask about it. Here's the other condition. Which is Let's try to print something here. Yeah, print. So, Lynn example here on this. Try to make some lines. Okay. As you can see you. Yeah, that's cool. So now I'm going to ask for two para meters. Okay, which is please focus me trampling as you can see here on. I'm asking about if fixed. Is the Gretel done 20? Okay. Um why? This is on 40 as example. So here we asked about two conditions with the operation on relation. Is aunt in this matter? We are asking. We have to get both off the direction. Right? On left. It should be true. Otherwise there is that it will be false. Ok, so now let's try toe run. Okay. As you can see here, it's Force y fourth X is good as done 20 exposed because off X is 50. Okay, on also, when we ask about while is that 40? Why is 50 50 does not less than 40. Okay, yeah, But by the way, the first option is true because off your ex is 50 50 years on duty. That's true. Okay, here is that the conscience is true. But here, why is listed on 40 is false. Okay, so one connection here is forced. That's why we see the actual result is fourth, as you can see here. So what's the matter here, Toe? But this operation artist or to see the this operation with aunt will refer the truth. It's only refer true if both sides off this operation should be should be true. So this is true because off is because of 1 20 But why does not list down 40? So let's just let's make some change, like 60 as examine here once again, it's right to make this comparison The first pair on the outside you can see actually is the Gaza 20 because of exes. 50 on Why this dance? 60? Yeah, Why is 50? So here is the true. And here is the truth. Let's right to run to see the result. Yeah, it's true. That's that school. So once again, let's try to do other thing. Here is the first option will be would be Force X is 10 on 10 Does not greater than 20. That's force. Okay, The first commission is force. The other position is through came through and force the result extreme. It will be forced because off one condition is forced. Okay on If we make both condition is forced like this Odd. Let's make that 20 on once again. Let's ask Once again, X is 10 $10. 20. It's forced on. Why is 2020 list than 60? Yeah, that's cool. But let's as 70. If we changed with the committee, why is 70 70 does not Liz Dunn and 60 then this condition is forced force and forth. It should give us the force value. Okay, as you can see here so that with this condition, it's only refers us the true result. If both sides could be true. Once again. X is example is 100. 100 is getting down 20 at that school on. Why is this Don, Let's make y 50 on. Let's ask their wine. 50 is little. Is this down? 60 years? It's true. This experience through on this exception is true. Then the result, it will give us the true value. Okay, that's cool on that's all about this operation on. I know that it seems to be some complicated or some complex. Yeah, but you have to understand everything about it. I hope that you will keep your finger on your keyboard and tried to do it by yourself. Okay? And now this is It's trying to do the other comparison as logic cape. So what's the other cumbersome here? So now I'm going toe. Ask about it About about or okay. With our condition, which represents as as this. Okay, let's try to do it. Which is pixel is done. 20 or 50 or whatever. Okay. As example. Or or it seems to be represents by this option. Okay. As you can see by Okay, on, why is less done? Oh, no. It's the least get a 60 example. Okay on, Let's see the results get. Let's see that there's not Brent. F is explicit. Down 24 the value of X is 100 on 100. It's not least like 40. It's forced their will. They result here on this condition in the first condition on or or means that at least you have to have at least one conscience. True to refer through, Why is why is least down 61 is 50. Why is this a city are true? Okay, so once again, the first conscious is false. But the second conscience is true so that the results should be true because we have at least one condition through. Let's try to see Ron here. Yeah, it's true. Here, here. Is that true? Yeah, that's cool. So now let's try toe to make the X is greater than on make. Why is greater than toe ask? Okay, let's ask again. X is 101 100 a greater than 24 year. It's true this condition is true. Or why Why is 50 You guys have done 60 know why? Why? It's not good that I'm 60 because off the value of Y is 50 and 50 does not greater than 60 so this condition seems to be forced. OK, but if the other condition on the left side is true, through and forth. True story, true or force? It's true. Let's try listed. Try to see. Run here. Yeah, it's through here as you can see your pocket at school. Now let's try to make both conditions are true. Okay, let's make why is least on 60 Once again, it's asked X is 101 100 together. Richard are 24? Yeah, it's true. Or the other condition, which is why is 50 50 is down 60? Yes, it's true. The first pair is true on the second. There is true, then the results should be true. So here's the question where we can get the value off both sides. OK, that school is drop. So where we can get the both the result off forced its on. Lee would be achieved or Toby got a force. If we have both sides is fourth. Like if Exley's done 24 X is 101 100 does not list than between four. So that's this. This compressor or this country is force on. Also, if you could ask here about the why if we change this this comparison or this condition, why is 15 on 50 does not together than 60? So that this in this condition, it seems to be force force on force or force they result will be forced. Let's try to run to see the result market here ago. Its fourth. That's cool. OK, that's not that. That's a pretty cool. Okay, so now I'm going to see the other thing, which is about about other pensions which we can do it with the political on it seems to be more obvious or more easy. Okay, if you would like to ask you about bullion directly. Okay, if he wants to ask the Buddha Tour force But let me show that on the separated lecture That's awful for this election. See you next picture. Bye. For now 11. Logic Operations part2: Hello, guys. And will come to the new lecture in physical. I'm I'm going toe continue with the previous topic, which is logic, logic operation. But here, I'm talking about the bullion. Okay, As you can see here, I'm going to define some valuable which called B one, as example. With time off, William, on this initial value, it gonna be true, As you can see here. Okay, that's cool about declaring some valuable from a civilian on. Now I'm going to print, print off the value off this bull. You can rent line, as you can see here, Onda. Now, I'm going to, um The one is equal to, as you can see here to see the result, Plus to make some concatenation. Be one. Okay, that's cool. Now it's got to play Koran. Yes. Okay. Yeah, it should be. Provide the B one, by the way. I don't know why. Yeah, regard. That's cool, Brent. Yeah, print line. Okay. Yeah, Here is the problem. I have proof, but the B capital on. In fact, it's a small letter again. That's cool. So now run on. You can see B one is is equal to true. Yeah. Why's it through because off we have been declared this valuable with name off the one on uh, here's the tied that I, which is bullion on it seems to be true. Okay, so now I'm going to change this value off B one. Currently be one is equal to let's add some comparison, which is X, as you can see here. Next list on Why? So let's figure out about this condition. X value of X seems to be 100 on value of ice. Seems to be 50 on this condition is false because off X list. Done. Why is forced again on this? Value seems to be stored in this volume which called B one. Okay, so now this trying to rent out Brent Link. As you can see here, um, be one. But let's defiant as well. Plant. Um no. Here's the new value. Oh, B one, As you can see, do you want is equal to the Cassini er on now. Plus B one, it's Let's see, was gonna have it on Now go to the run over, over to see Okay. New value off The one is equal to force. Why has it become force? Because off the new value off be Juan seems to be false among to this cumbersome. So now this tried to figure out the new or let's try. The other option, which is B one okay, is not equal. No B one is equal to is equal to not be one. And then I'm going to grant line. As you can see here, the news. The newest as you can see the New West, the news value off off the one is equal to here we go, plus D one. So it's talk about it for a little bit. Here's the the news be won us a variable on. It should be equal to not be one. So be one is false because off here's the anyone the current steps off. The one seems to be forced because off X is equal to why is 4th 100 does not less than or equal toe 50. Okay, on this value, the newest value of the one, it should be negative off negative. Okay, force on force so that it should give us the true value. So it's tried to run to see the results here is OK. The newest value off the one is true. Why is it through? Because off once again, value of B one, which comes up from the previous operation, seems to be force again, not force negative. Negative. It should be true. That's the matter of care. That's all for this lecture on. That's all for the logic operators. See your next picture. Bye for now. 12. Strings Part1: Hello, guys on Welcome to the newest section in this section. We are going to talking about strengths. So what you are going to discuss here? Okay, we're talking about strength. Have toe declare how to define strings. How toe differentiate between mutable on immutable strength again. So let's start with strings. Step by step. OK, so now let's declare string life here for grace. Something like this. Rising filed text one example X wound which would be equal to welcome to Coughlin. Okay. And also you can define this string in other ways. Like var takes two, which is equal to hello to all Cortland course as exactly so. This is the those are the strings on a zoo. See, we can define strength in two way the first thing by using gob, Val az secured on otherwise rising far. So I'm going to declare What's the difference between two options? We know that we can declare some valuables as immutable, immutable variable which will be unchangeable. Okay, Andi, especially in this string, we are talking about immutable string. As you can see here, I have mean brought the comments to display. So that's that to declare some immutable strengths we can use, Val. As you can see, Valve allows us toe define or declare aesthetic value, which cannot be changeable anyway. Okay, Like by, like, your name or your brand or something else. OK, so that's the way off. How to use a valve. Once again, it's it's immutable. Um, you'd like to Adam the other way or define mutable strings. We can use bar barbecue. What? Like this. So now here is the way In this way. We can't do that here, as you can see here. Welcome to immutable string. As example as you can see here. Okay. Andi, known as disagree on. We were talking about the mutable strength, as you can see here, declare mutable strings by using far. It's looks like this, by the way on, uh, I'm going to define it as far text for Okay, this is what on, uh, here we go. Welcome to you Trouble mutable. Which means that we can change this sticks again like this If I'm going to add a text. 40 k Is equal to 64 bluff. New text has example, by the way. Okay. This is the way off on three. Yeah, it stinks for he regard. Yeah, digs far and we can do something like brand plan for for six, for example on duh, when we try to run, will come to mutable text new text again. That's the way off. Mutable. But let's try toe to add something else here in immutable, immutable texts for unchain jal text This tried to Adam. Texas three is equal to 63 bluff new text. Okay, here you go. Like little. Let's see, Val cannot be assigned. Okay, let's try to run to see the actual bacteria while cannot be reassigned. Okay, that's the difference. The difference between Val on Hvar. Also, if you would like Toa example text five, which is the goto takes. Yeah, we can't. We can't. We can't because of a circus here on resolved reference text five. Why this tried to test the unresolved reference text five Once again when we use Val, Val seems to be immutable. Okay, which exactly needs unchangeable for the values. OK, so that that's that's all about how to declare aesthetic or or or something is different, like immutable or mutable or mutable, valuable by using val or Valek it. So now Let's talk about something and switches the house Clear Long strings in cluttering cape. So when we start, or which would try to to declare some long things in court. Now I'm going toe long as you can see here Long, Long string by quickly or including Alexander. Okay, It's anything else on. Now what I'm going to do. 123 Yes! Yeah. Here we go. So this is the way off. How to define or declare a long string. Okay. By the way, this is the name off this thing. You can type it as my full description as example. Ok, ur feet too t choose or two again your your valuable name. Okay, so it's not specific for some keywords, by the way I kept. But here is the mother of Gib. Well, we try to define or declare long strings in Cortland. We are going to start adding three double quotation on also the text will be end with three double condition. On entire this, we can do some six year. Welcome to the full stock as example for a stock off of what? Off court lane. Yeah, off Courtland. Is that flight chortling? Yeah, Court lean quickly. Org 2020 by the way, with awesome projects as example here. Okay, projects. Look it as you can see. Okay, that battle on now, let me try to do something else. Here. Let's try toe the plant lane, as you can see here for my full. Yeah. By the way, it's your ego. My full description. Okay, Now, let's try to run to see the result, Okay? Yeah. Welcome toe. Full stock off costly or P 2020 with awesome projects. Okay, here we got that school on. This is the way off. How to declare long strings in Scotland. So now, as you can see, here we have Bean declared the text. Okay. And also, I have Bean explained about everything about the immutable things unchangeable by using Val . Okay. And also we have seen declared looks is in cuddling with this example, and also we have seen declare mutable things by using far as this example. Okay, now it's the time to give dive with strings of care. There are a lot of issues that we can try. Do it throw the cuddling to make, to make work with with the strings or text more useful. Okay, so now let's talk about let me add or declare some variable. By the way, here variable my text a kid, My string My street is I'm here. Okay, My sing my strings My string will be with the type off his drink As you can see here which would be equal to equal to what people? Well, you're welcome, by the way. Okay, let's do it as welcome. OK, so now let's try to make some quick issues like Franklin. My Yeah, my string. OK, my thing. It's not mine suffering Kim my string because here my string Ok? Yes. Yeah, that's cool, Onda, when we try to right here to see Yeah, my thing is welcome By the way, we can do more obvious something else here by at some quotation here to see my string. My string is Colon on Dhere. We are going to other Blust, by the way. Okay. Make some competition to clarify on Didn't try to run to see the result of a year ago. My saying is welcome. Okay, That's cool. Yeah, you have to explain everything to be more and more obvious to your customer, Kip. So now this like toe Add some medication or some treatment how to treat with string book. It looks like how toe had how toe add Blust. Some have used some specific methods with this string like plus like a length like count like dropped life take like toe uppercase like to lower case like to first toe last to replace to print, line to replace. Okay, that's all. So let's try Do it step by step. Okay, I'm gonna talkto clarify everything as well. Throw the front line now let's tryto Brent line, as you can see here. Put line off What, by the way? Okay, Here's, um my mice drink my stink too. Is example Okay. Andi regard It's like to add ons. Now what I'm going to do here is to add my string and you can see here, by the way. Plus, yeah, my string UK, my strength on then I'm going to add something else, which is dot ok dot plus plus is some methods toe add some basic that again. Welcome as example and you want to add some text to Courtland 2020 example kit. So now it's tried to run to see the result again now. Okay. My string to is welcome to chortling 2020 that that school again. So let me clarify something here. My strength is blessed. My stream. I think he does this. The blessed sign. Then the name off, this viable off. My strength brings the value of my sink. That plus, which is entire method in tow. Coddling which will be add or make some interpolation okay. Or couldn't detonation for the addition Text, which is two Carling. Okay, that's cool. This is the way off. How toe add new value or a new text to the existing card. Okay, that's cool. Now let's try to add something else, which is throw the print line on you, regard my string three example. Okay. There's as example as you can see here on now. I'm goingto other hash code. Okay for that on how to do that? It's trying to bluff my stink as because he year dots on now to add a hash Hash cod, which is hash, as you can see year hush court. Okay. Yeah. This is the method to get off harsh court. This is the way off. So what does me for my staying with not hash. Hash Scott is an entire is entire method which will be bring the hash code off. This this value, which is welcome. Let me try to see strengthening Run here to see the result. My gods. I think it's has got it. May maybe not run here, Throw the council off, chortling online. But you can try to do it. Throw the leave your studio or get praise get That's cool, by the way. Okay. Doesn't measure. Okay, that's again. I can We can skip it, by the way, Or make something else like Here we go. I'm going to refreshed, by the way or skip it. Look it okay for hash. Got it. May not want once again here, but it's proper, by the way. Okay, Now, let's try to add another thing, which is print line. As you as you can see, as you see here on, then add my string for there's an example. Yeah, my sink for which is yes. Here we go. Okay, that's it. Why, that was Well, wait, I think there is some issues here. Yeah, ok. Yes, that's cool. Yeah, Look it on then. Now I'm going to add something is different, which would leave, which would be string if food like to make some comparisons by is equal or not, Kim. Okay, here we go. My string ok dot On now I will ask about Is that equal to equals or not? It was so what can It was too to welcome with me type. Then I would discuss later. Okay, So look at my sink for is equals to welcome that Fine or not. Let me try to run to see the result again. 13. Strings Part2: Okay. My string for is forced, by the way. Okay, That's Cooley. I am. That's cool, because off it's not equal. Okay, that's really cool. My thing for is not equal toe. Yeah. Why is that? Because off here's the welcome, but here is as welcome as welcome. Okay, but it's deletes that. Okay, Onda. But this exactly the same as this. Drink on once again. This method, which would be a pair okay on asking for is this listing off. My string, as you can see in my string, is equal to this value or not to kill. So now this. Let's just run again to see the results. I think now it should Should gives us. Yes, my sing for is true. Yeah. Why is it true now through because of Yeah, this value is exactly equal to this value. Okay, so that's the way of how to compare Now is trying to do something is different, Which is maybe we might ask now about the length. Okay. Toe the trust feelings here. Let's apply. Okay, let's try to do try to do what? Okay. Yes, here we go. Now, let's try to do plant Lynn. Okay. Uh No, my strength five is on a cynical Here have been Blust plus what? Plus plus my string dot Docked length again this method. Okay, It shouldn't give us the length off this string, as you can see here. 1234567 Okay, let's try to run to see the results, Okay? Yeah. My sing for is seven, but I think we can fix or make something My sink. Five length. I think we should be more cool. Okay. It's like to run now. Yeah, my sink five length is seven. Yeah, that's cool. OK, that's that's pretty good. Are So there are something is similar toe the length, which is which Maybe count again, by the way. Parental. And as you can see here Brantling Now I'm doing my string My string six Example count OK, count is okay and then he regards space my string dot count Yeah, Here we go. Here's the count. Let's try to see the count which will be I prefer us gets try to run to see the result Run ? Yes, my string six count is seven. Okay, count on length seems toe give to refer the same result which is dealings or the count off characters which consists off this war cape for this string. So that's cool. So now let's try to make something is different, which is Yeah, here we go. My string seven. Okay, so now I'm going to make drop. If if I I would like to my saying six will drop, we will drop the out. Will drop be, uh, the guns the second current, by the way. Okay. Second. Yes. Second collector, kid. Now trying to see here. Yeah. Okay, wait. With white helmets, then. Here we go. Yes, at my string, As you can see here. Yeah, my string That's cold. And now I'm going to add or choose thistle method, which is dropped on. Now I'm going to add a drop too. So this is what it should. It will drop the second the second Corruptor again. Let's try to run to see, by the way. Okay. Okay. Screw long to see my string seven will drop the second character. Okay, as you can see here. Oh, co m e. Okay, so, list, try to see the drop. What? So what's gonna happen here in this in this method with drop. We have been dropped to character W and E. Okay, welcome. Because we have Bean put the Carter. Let's try to add three character. Okay, on, then run again. Okay. As you can see, it's falling. C o m. So let's try to make drop for one as example on, then run here. You know, it was dropped. The first character get so once again, the meaning off this method is to drop the number off characters. It was just will be start from the left to right again from to drop the number. The corrupters. Yeah, dig the car is just a more or something. Something That's OK. So now let's try to other print plane, as you can see here with the my stream. My God! OK, it's musical school down here to see my sink as example. Okay. So which we tried here. Yeah. Okay, let's try to do something. Something is awesome. Okay, As you can see here with this ward is off. Welcome. You can see the first character is W in capital Letter. But the other corruptor here e l c or indeed seems to be in small. OK, my stink at will be. Ah, all in another case as Yeah, Here we go on. Now, let's try to a plus. Plus. What? Uh, that's, uh, my string, As you can see here. Yes, my sting thoughts. Dots upper case on with our case, I'm going to add this week or two, upper. And by the way, you have to see the result of this middle to upper case. Click here to see. Yeah, exactly. That's cool on. Now try. Try to run to see the result. Yes, my saying it will be all in upper case as welcome. Yeah, that's cool. All off these characters off this world seems to be a convert to the upper case. That's cool. OK, so that's well on, uh, exactly. Bye bye. Similar. Also, we can change the okay, let me try to get some things the front, Okay? Because off I'm going to change some countries to be capital, because off I should prove that everything would be fine. Will you? Would you Okay, here's my my sting In line will be all in lower kiss as we go on now. Lost, That's what. Okay. Plus my string. As you can see here, dots to Yeah. To what? To lower case? Yeah, that's cool. So what does it mean? That this scene listening is that we are going to convert all of these characters entire this words to the small Watergate or to the lower case Aziz here. This character seems to be in our case number case. It's another case. This is not okay. But now we should give the all characters in lower case. Let's try to run to see the results. Yeah, here we go. School out. Yes. My sing line will be all in lower case as will come here, the above one all in uppercase. Okay, I hope that you will try to write this code by yourself because off it's necessary to become a professional program. Okay, I hope that you'll follow me step by step market. So that's cool. So let's continue with this. Methods are which which, which it could, which which can be applied to this stuff here. Okay, so now let's talk about the first and last. Okay, if you would like to to see the first or last print. My God. Grant. Yeah. Print Lynn. Okay. With robots. My string tune six. Then example okay about school. Just no more. Okay, now I'm going toe Adam. My stirring, As you can see here. OK dot But what? Here's the first example. First. Yeah. Here's first, by the way. Based me. Okay, First, this method should gives us the first character this suffering to see. Okay, Yeah. My string 10 w. It brings us the first character off this war. Okay, my string. Also example. We can do it for the last game. It's so easy. By the way, I'm going toe Cody, grab on. Based year on now it's going to change something here. My sink live in my staying last, as you can see here, the last that should gives us the last tracked okay? Or bring us the last after run here to see the result on school. Um, to see Yes, my string 11 is e as it has here, the last character in this world. Is he on? Throw this with food. We find out the last character on in this metal, we find out the first character. Okay, that's all the limit towards our actions that can be used also. Now I'm going to Adam some useful methods which can be useful Using with pistols lacks experience in the programming, which is replace Okay, replace with some conditions. OK, so now let's try to do something here. Toe other. This option by the way, we go, friend. Swollen, as you can see here. No, my string 12. Ok, here we go. Yes. And now I will try to do. Yeah. Blessed what? My string, by the way. My sing dot That's what? Yeah, here. I'm going to add the This is the, uh or no no, my staying dot replaced. By the way. Replace Okay, Replace with what? To get the place off character w as example which is which is a capital letter. OK, which is the first chapter with with what care was trying to convert it with? No Yes, within an example. Okay. Please be careful on full me. My string, which is my sing here. Welcome. Replace w with him. So this week it will be Look on ticket about this ward, crafted like a character on it will convert each character with W Capital to become Am okay . In this world, we have only w It's like to run to see the result. Okay? as you can see here. My saying milk home, by the way. Milk. Um, okay. Also, to understand this as well. This tried to Adam another word, by the way. Okay. Another world. Okay, Um, his name it is. This is my name, by the way. Um, okay. By the working nobleman. Here we go. So as you can see here, his name is another Adam. Okay, so now I'm going to change every collector off in capital. OK? On this should be neither case, not another With what? What? Um, amia with him. It's tried to run to see the result. Okay. His main ho. His name is another Adam. Okay, so the this this replacement doesn't affect to the small letter off Nantucket. But now, also, I may try to convert with the end by convert and with in example Okay, So this is the way it will change the this character to become capital. OK, on the other end, it will never affect the job. They tried to run to see the results. Yeah. Here we go. Yes. Again. His name is Nader. Adam. Okay. The small iter seems to be converted toe capital turkey. That's it. And also everything has been changed. Like my singling is 20 to my strengths. Six count is 22 Que onda. It's pretty good on a circus here. His name is another Adam. His name is never Adam Capitalism's Molitor. Okay, it's useful example. Okay, for So there are different ways. Toe, make some replacement. There are other other options Which is way May try to convert or a place the the This is the world, by the way. Like like here we go. It's like to his Okay, Replace his With what? With my example. Yeah, here's his and his This is, uh, my But I think I should try to to do something else, which is Yeah, I think I should do it through the Yeah, let me clarify. Something is very important here. Which is his on now. Kama is my okay. This is the way off if you would like to replace single words by other. So now I'm going toe convert this world by this world. Okay, so let's try to run to see the result. And here we go. My name is another Adam. Okay, that's cool. Separate. You go to K. So also I may change the, um, his name too, as I or I keep it. Okay. Yeah, I know his young my it is another. Okay, as example. Okay. It's like toe do something is different, which is trying to conference Adam too. Hey, as example now, we are going to replace the dis wars to be a That's set to camp on now strike run to see the result. Okay. Okay, here we go. His name is not a just no more. Okay, so that's the way off. How to treat how to work with the with the strikes with different methods with functions. But also, this is the way off how to declare string. If you would like toa declare the immutable strings, which is unchangeable. Or if you'd like to declare commute Amy in irritable, which is which can be changed. Okay, on that's that's all for this section on. See you in next sections on because bye for now, 14. If statement in Kotlin : Hi guys. Welcome to the new section and position. We are going toe talking about conditional statements in Cortland. So let's start with the first lecture in the sexual at the section we are going to talk about if statements. So what does mean every statements in Courtland? Okay, with conditional statements, we are talking about how to execute the process or sit off Commons within the some conditions. Okay, so that when we try to create or declare some valuables as injured or flawed, or text or sing whatever we are going toe, ask for some steps or for some conditions. If the condition seems to be true, then the UN, the entire Commons would be a run. Otherwise it will never be executed or proceed okay on. For that, I'm going to start declaring gum some valuable like variable x equal toe 10 as example on. Also, I'm going toe to declare variable white, as you can see here for people to 20 as example here. So now let's try to ask for some conditional Gabe by adding if statements Okay, as you can see here, it's every segment. If X is the great are done. Why, as example. Okay, then we are going toe open brackets. Okay, as you can see, you know it's not by the way, what is that? Okay. Yes. Open terrorists and claws caress on inside this compress. I'm going to plant line Frontline. Yeah, X is greater than done. Why? OK, also, I can ask another question. If I would like to add another condition, their fix list down. Why? As you can see here also, I'm going toe open Kill The race is on close care braces, As you can see here can be here just yes, like something like this on now I'm going to add this common blind print line where bigs is less. Why? Okay, also I can ask for other conditions. If fix is equal equal to why then I'm going to have been caressing on close covers inside. I'm going to to create breadline. As you can see here, Print line next is equals two. Why? Okay, that's cool on this. Let's try to run to see the result, Okay? Yeah, X is Liston. Why? Okay, let's show up. Here is the value off X as you can see this address this option the value of X is 10. The money off. Why is 20? Let's try to toe dress these conditions. Here's the every sentence on Now we are going to ask for some condition. X is greater than why we know that this value or this conscience seems to be false because off the value of off X, it's not greater than why. So we can't on the system or the compiler or the council cannot be executed. This expression, which is inside the carapace, is again on when we come here toe Fx's Let's Done Why, yeah, 10 is listed on 20 which is true then this in this expression or under this condition, this expression that will be executed OK, on the other hand, also, if we asking about this condition, if X is equal to why the value of X 10 10 does not equal to white, so we can't find this. So it's like toe to change the body. Okay, here is the white distant on the white stone on existent, so let's dress once again. Next is because a man why no Exley's done. Why it's no X equal to y yes, because off 10 is equal to 10 It's like to run to see the result. Okay. It's gonna have any year. Go ahead once again, OK? Yeah, sometimes weeds to make summer fish too. They are. So I guess x X equal to y Yeah, that's fine. On this strike toe changed value of X to be 30 on Why is 10 now try to run? Yeah, X is greater than why That's cool. OK, that's the meaning off if conditioned, by the way. Okay, that's Lowell. And also, once again, we can do it for different things. Like Like what? Okay, let's try to to declare some valuables here like var are one example which would be equal to oh, another right away. Okay. Yes. Now let me try to check if str one dots dot length equal to five. Ok, then, uh, let's open the care braces. I want my gods homemade gods. Okay. Yeah. Now it's like to friend lying. You see, her one is through. Okay, so it's like to two run to see the result. If there's something will be happy. What happened next is because of them. Why? For the above. But now, underneath this condition off, if strangling is equal to five. It does not execute. Why? Because off this condition is not is impossible on. It's not acceptable to be executed. Okay, so let's try to change this. Valuable on 1234565 Now let's try to run again to see the result. Yeah, spaced er one is true. Yeah, it's true. Why? Why is it true? Because off the strength strangling for this variable from kind off from data type ofs drink is equal to five. Okay, the legs off this string is fine. That's correct. That's all for this lecture off. If the statement and the next lecture, I will I will explain more the gents about if it is. 15. If else in kotlin: Hi, guys. Welcome to the new lecture in the sexual. I'm going toe talk about the if else statement in the last lecture, we have been talked about F statement. Okay, Now let's try the other option, which is, if else so. Let's continue with the same example. Viable X is equal to 30 on Very Roy physical. 10 again on Let's try to make Something here is different. Like let's ask about if excellence land Why, Okay, the value of X seems to be 30. Okay, on the value of Y is equal to 10. So this condition excellence, then why seems to be false because off 30 it's not less than 10. Okay, so, no, let's figure out the right solution. If this condition seems to be force okay on, we know that when this condition or this close expression seems to be false, then the exhibition entire these care braces, it will not be succeed or not be processed kept. So to solve these issues or to make more smart solution, we can at the else option with other killer bases here on then this I talked to friends as you can see your print Len as example on then let's open black. It's on inside. Thanks. It is not greater than why. Ok, but we can't Sure that X is greater down. Okay? It's not the least this done. Why? Yes, not school. And also we can't. But this this expression that is getting then why? Because off X, it may be equal people to why. Okay, so let's try toe run this option to see Yeah, X is not least. Then why? Yeah, Here's the expression excuses on why printed exes? Listen, why if it if this condition was through But we know that this connection seems to be force . Why? Because off is not least on why this is forced. So now we see that the other exhibition has bean produced or executes which is X is not placed than what? Let's try to do the other. If else statement on the other stuff here looks Looks like this year is trying to activate this God var string one is equal to another again. So if ist er one against at another Adam, as you can see here Okay, If Mr str one not length is equally goto five then print str is true okay, or at least str one is str one length example. Let's try to Length is equal equal equal to five example. Okay, otherwise it's like to add else on then open. Carry braces on Decide. Let's try to vote Prince statement on inside print Ill. I'm going to other. These three are one length. As you can see here is not equal to five. Is not three not equal to five. OK, on Now it's I think we have to arrange this Good. OK, that's cool. Now let's try to run, okay If they are one length is not equally but to fight. Why? Because off the first expression does not produce. That does not excuse why? Because off this statement or this condition is force. So once again it's tried to make five Yes, here is five character or things Is he going to five on then this This condition it will be true on now This expression will be executed on drawn on the other is not Let's try to run once again to see Yeah yes, they are Links is equally go to five which is the first expression in inside If but the does not execute Okay, that's all about how to use F else statement. Okay, It's so easy. By the way 16. If else if statement at kotlin: Welcome again to the new lecture in position. I'm going to talking about F else f else again. This is the example which I would like to talk about it. Okay, if else if as exam as you can see you f health. So let's talk about if else f I think the proper example here, if you would like to ask about some conditions. Looks like service or grades or something. Okay, which which depends on different conscience to do that. Let's try to Yeah, to the lead off this. OK, so now what I'm going to do here is to I'm going to create it some variable, which will be as a degree. Okay, bar degree, which is equal to as gamble, maybe 50 0 r maybe. OK, 75 as example. Okay. No. Yeah. No, my gosh. Okay, that's cool. And forget now I'd like to ask about the conscience, OK? Or about the the degree, kid. Maybe degree or grades, I think greats. It's probably waas. Okay? Yes, Barg, let's breast means the actual degree or the actual average for the students at university or at the school. OK, so now let's let's ask about the f if your grades It's good, I think great is fine. We don't want things to Yeah, if you grant. Okay. If you grant, is, um, greater than or equal to 90 as example as you can see here. No. Then we can do this. Do this print line. Okay, Front line. You're bled. You are. You are excellence. Yeah. Except example. Okay. And now let's talk about the other question, which is? Yes, it is. Just if, as if grade is because of that for equal to 80 then we are going toe print line, As you can see here. Yeah, you are. It's not your you regard. You are very good. Really good, by the way. Okay. Something else. And now it's like toe else. If be careful that we are asking each time about some you condition. If grant is list goes under or equal toe 70 then we are going to print line. As you can see here, you are good. Okay. Now, the last thing goes as if great is equal to 60. Yeah. Then, friend line, as you can see here you are so so by looking. So so Okay. It's not about okay. on Uh, then else? Yeah. If if great is God or equal to 50 then we are going to Brent Line train flying, as you can see, here you are. Sex is not, but by you are not bad. Okay on, then. Okay. No, The last thing Which will be otherwise, by the way. Ok, Else as okay, this is the last option with the else the last option. It will be brand line. As you can see. Here you are fail, you fail all you failed, by the way. Okay, that's cool. So let's trying from the beginning, OK? The arrangement here is so quiet because off we are going to ask about the degree. If when we talk about the big Red off greater than or equal 90 that means the great maybe 1991 92 90 maybe 100. Okay, it's the top. The top level. After that, we are We are going toe. Ask else if Great is governor equal. Agent this. That means we are asking about the greats from number 18 to number 89. Okay, on, also for the 70 and also for the 60. Okay, I think currently we are asking with this with existing value off grand which is 75 it should execute on. Apply this conscience. If great is the president requires 70. Okay, which would be you are good kid. Why? Because off the value is 75 on your asking about the value between the range off 70 on 17 miles. OK on, Let's let's try to do the run option here to see the result. As you can see Yes, you are God. OK, so now let's try to Adam as example 90. Okay on then Iran to see the result. You are excellent, which is the first option. So now it's tried to other or to change to be 50 example Try to see Run. Yeah, you are not bad. Ok, but which is here? Yeah, Why? Because off number fifties also, if I'm goingto other 1959 also it would be it will apply the same court which is you are not bad. Why? Because off entire this option or this condition We are asking about the get from 50 to 15 mine. Ok. And also we are going to ask Yeah, if we try to Adam. Yeah, 60 or 61 as examine. 61 example. It's tried to run to see the result. You are So so. So So it seems to be to execute this condition. Okay. Which asking about the value from 60 to 61. Okay, on. Let's try to Adam. Any value this done 50. Okay, 30. You are fail again. And also, if we put the 14 line, then try to run to see the result. You are fail again. It's tried toe Adam. Some number us 14. Example on. Try to run. Yeah, you are fell on. That's why the arrangement is so important. So this the arrangement allows us to make clean code on faster and smarter. But if you would like to be more careful on more restricted for some conscience you can talk about if progress is is greater or equal. 90 on, as you can see. Here, Aunt on what? I'm degrade. Okay, this is done for equal to 100. Get us. That's the meaning. And also, you can put it here. Uh, great. Is list on It is done. What is down? Nine. Okay. And also, you can come here to ask. Um, grand is list on it is done, it's OK. And here we are asking about aunt grades. Is Liston. Is that what is done? 70 example On Dhere Way we're asking about on Grand is listed on 60 example. So be careful and be take take attention. Take or petition about that Great is gutted our 60 which means if the number was 60 then this condition will be applied. But here it will not apply. Here's the here We asked you about the degrades from 50 to 59 if we are going to run once again, we'll see the same result on Let's Try toe Somebody's like life. 70. Let's let's showing the comment which which talk about the 70 year ago. If grad is aggressive on request 70 on great list on it, it will be applied. This you are God kept but also in use. You are You can see the number 6 70 here But here if progress is equal to 60 on Bliss done 70 which will show up the numbers from 60 61 62 60 to 69 Okay, 70 does not include okay, So the the because or the condition it should be applied to be true. This expression okay on bond. I bet you that I bet that the number or the expression will be blunt. This this comments, Let's try to run to see the Yeah, you are good. OK, that's cool. OK, on. Once again, we don't need to add this conscious because off the arrangement will apply it automatically . Okay, but for more more clarification, I have been showing the issues exactly on. This is the way. If you would like to ask for more conditions when the conditional statements at this same court or our at the same product Okay, that's all on. That's often for this lecture and see you on next actual bye for now. 17. Nested if in Kotlin: Hi, guys. Welcome to the new action and decision. I'm going to teach you all of about. Missed it. If Okay, let's talk about misted. If on What does it mean? Okay, first thing that's Mr Beautiful. This to clean up. Okay, that's cool. So with Mr Death, we have been talked about if if else on effects f last six recollections again Now, I will teach you how to work necessary. But before that, this strike were declare some variables like var value one as example, which would be equal to 55 example. Okay, Now let's ask about if if value value one is greater than 50. Okay, then trends. Here we go. Train plan, the way there is so hot. Okay, as example. Otherwise, we're going to to range else on inside else. We have to missed it. F by adding f asked once again once again for some specific if value one, as against a year, discredited them 40. Then we have to make this Trent. Len, as you can see here, no, either is hot, which is not Is normal is hot. Is history is normal then else which is misted. What? Once again, Yes, front line you were there is called. Okay, that's cool. So now we have been asked about these numbers above 50 above 40 on otherwise for a number which will be listed on 40. Okay, 40. Unless it will be. There were that is called. Okay, but I think we have to talk about 20 here. Andi, I think to be 40 here as example. Yeah, that's cool. Yeah, that's cool. Okay, so now this they tried toe, do whatever it takes. Here is the statement on then if a statement shows us shows show up the expression which asking about some values on with this values, if it was true, then it will execute this expression. Otherwise it will be gone to the is inside else We have been created the initiative which called another effort statement which happy, which will be asked about the condition. If this condition was true, it will be execute this exhibition. Otherwise it will exclude this expression. Okay, let's try to run on, then change the number to see where is Where's the? This program can execute this expression for our the other exhibition. Now let's try to run to see the result Here we go. The weather is so hot. Yeah, it's excuse the first exhibition, because off this condition seems to be true. Ok, so now let's try to add 52 to see the results, by the way. Okay. If value is Gaza Don Rickles 20. Let's show up. Run again to see to see the result. You see what it does to see which expression it will be executed or applied here. But once again, we are working where the playground and sometimes it seems to be let. But we have to refresh. By the way, we have been refreshed. Okay, as you can see here on now, start to run, to see to see the result. Okay, It should It should execute this exhibition. Okay, which is No, I think value one here sits by anyone here, which is value one. Yeah, which is value on Yes. Let's try to run to see, doesn't Yeah, the weather is normal again. So as you can see your it's execute this number again on Let's try toe Adam. This to be as 14. Okay, which is not greater than 40. It's not going down 20. It's something else. Now let's try to run to see the result. Yeah, the weather is called. Yeah, that's cool. It seems to be run the third option. Okay, so let's focus about the necessary Miss Deaf, this criteria or this issues when we try to add new effort Serpent inside the US again, that's all about Miss Deaf on. That's all for this conditional statements or missive. See you in this fixture. Bye for now. 18. When Statement in Kotlin: hi guys will come toe the neutral investiture. I'm going to talking about when, When condition, As you see here when? Com station game. So here I will talk about the new conscience phrase, which called when, by the way, the press or the world off when it seems to be similar to switch on other program language when we are asking about different conscience or different comment at the same program. Okay, let's try to define or declare some variable like temperature as example on, This would be a since you're like like 30 example. OK, now I'm going toe ask about when went for this temple came when Tim as example on. Then I'll open the killer braces. As you can see here when Tim how often the killer braces on inside care places. Let's try to tie the options as the degree one or three other degree 10. If way put the degree, or if the temperature waas 10 then we will see this option, which is friends. Yeah, print flying right away. Okay, current line, as you see here. Front line temperature is so cold. It's so low. Example okay, Is is 10 example just no more okay on. Let me. No. If the degree waas 20 as example as you can see here. Now we can do that. Friend Flynn. As you can see here, 10 is 20 as example. Awesome. We talk about the 30 has example here. Then we will try to on trend line for 10 is is 30. Also, there are different options that we can use it. By the way, if you'd like to Adam 40 or 50 as example here. But I think some coma and then we'll try to Brent drink line has seen Jim in Third Marquis are fit or 50 An example. Okay. To be more more clear, by the way temperature is okay. You otherwise otherwise which is we can do other options. Like Like Like I sit here like in And what? Okay, if you are looking And in 60 to 90 then we are going to Is that what's going on over here? Okay, then we will brands Franklin, as you see here, 10 in 60 to 90 as example. And also we can do something different, which is the negative. If we're asked if not in 91 to 100 of example, it was not. Then we are going to Yeah, we should. Prince. By the way, friend Len, as example here's is not in mind you one to 100 as example on, then the last option or the last condition which will be is the else Yes, which will be the last conscience. OK, else here seems to be represent like this. Uh Oh, my God. OK, And we can do this by rental. Are lying inside the prince line. Get temp. It is not Do you find, by the way? Okay. Okay, that's cool on this. Tried to see if there something wrong? Yeah. Okay. I think we need to add the other kid presses. Yeah, I think. Yes. This is the caress for the actual win on this for the actual program off May. Okay, now it's tried to run. After that, we'll talk about OK, temp is 30 year because off 10 physical to 30. Okay, on, uh, this is seems to be more recognized than if else if us for much more. Again. On also, we can combine some conscious like in 60 to 90 which means 60 61 62 Steve, 65 70 80 to 90. Okay, we have seen compound collection off options are the same conscience. Okay. And this tried to do that like 70. If you put 70 here, then the condition it will be applied. This condition 60 to 40. Temperature is in 60 to 40. Okay, let's just try to run to see those, by the way. Yeah, temperature is in 60 to 90. Also, if you'd like to Adam Like what? Like 91 as example on which try to run this Demeter is not. Yeah, the temperature is not defined because there is no options about about Okay on also, it depends for the other, like, 13 20. That's it. Okay. On that's the meaning. And thus the useful using when conditions on Once again when conditions in Cortland. It's exactly similar to switch language on the other program. Language when we are when you're talking about the conscious isn't ok, that's all. And see you in next section. Bye. For now. 19. For Loops part1: Hi, guys. And welcome to the new section in this issue, we are talking about the loops. When we talk about love's we mean that we are looking toe make some alterations for some data. Okay? Like list. It would like toa list the contents of array with names or products for service or whatever else. Okay, so once again, situation or loves its very necessary in programming, especially when we build forms or or some dynamic data, it comes up from database or from a raise or whatever. So now we are looking to discuss or to define the basic lures on For that we are going toe , try to clarify the for loop. OK, so let's try to define something else like of our X, which it will be equal to one as example here. Yes. Okay. And now I'm going. I'm going to get for room. This is the key words, Andi, In this part, I'm going to the attrition for for example, picks in 12 No, no, it's one to 10 as example. So I'm going to clarify everything after finished the this type. Okay. And then I'm goingto happen. Take care braces on then Let me have a print, Lind, As you can see here for Courtland as example. Courtland Plus plus So Oh, my God! OK, colossal in. Yes. Here we go. Plus, I lost X again. So this clarify everything. Here's the viable off X. As you see here. Here is the bible of Ext on. Now we have been start using this valuable. Okay? Should be from zero, by the way. Okay. About school on now, as this year we have bean start this loop with the value of X. Andi this the situation. It will be in the period from 1 to 10 which means 12345678 on each time each time, at least with one example it should be added on to be more clarified. We should make a lost increment because off the first option, it should be X one as example on then x two x three x five on so on again. And I think I think I think I think I think I may delete this, by the way. Okay. It was about this expired. Okay, He's trying to do this. Okay, That's cool. By the way, we don't need to clarify this variable from the beginning. Andi, for the situation, it should Brent the Courtland plus x example or whatever else. Okay, let's try to test that. Then we will. Yes, that's cool. Yeah. Here we go. This is the variable of X on. These are These are the values. OK, question one. Cooking to court in three. Coquelin for on. So Okay, so that's the way off. How to define who you are, How to clarify the viable. Also, we can do something else, or something is different. Like ver. Why? Example which will be equal to white people to be able to 10 as you can see here. Okay. On now. Three and now I'm going toe. Adam. Why lots of us in this part? We will see the results for print this situation from 1 to 10. With this valuable off, why will start with 10? It's right. Try to do at least one as example. Okay, 100 0 my gosh, It's 100 once again. Yeah, that's cool. Now let's try to run to see there is a ok Currently in 101 100 or 11 or 21 or 2123 on the final is should be one or night. Okay, it's 10 times from 1 to 10. Okay, that's true. It's pretty good. Also, we can start from number five examples from five to 2 12 as example. Okay on. Now it's trying to run to see the result. Okay, market that school. 12345678 came because off 5 to 12 5 16 Headline 10 11. Okay, 12. OK, that's cool. This is the way off. How to use situation. And this is the meaning of arbitration, By the way, I'm going to make a lot off exercise about it. So the largest state in to see that, Okay, now it's talking about the other example which I'm looking to show up for you with four robe. I think it should be with four rule. Yeah, if you would like to Yeah, we may add something. Is the front like this? Yes. It's for example, we made delete this on Make the value of X. Okay to start from zero. As you can see here, too. 20 as example. Okay on. Then let's X is equal to, as you can see, here? No, we try to other ex, as you can see here on, then try to run to see the result. I think this this example will be more clear to you. Okay, that's cool for X and 0 to 20. Okay, this is the interrogations in this situation are loops start from zero. Print X is equal to blast X. Here is the value of X. It's what it's still initial with zero. As you can see, X Z equals zero. Then the mobile to be converted to be upgrade on the other value. It should be one x equal. One also x equal to X a quickly 4567 It's still too 20 as you see here. Okay, It's really easy. And now let's talk about the other options with a for loop. If you'd like to add, something is different. Like, yeah, it's start, start. Declare some valuable as a text one. As you can see here on the sticks should be chortling or yeah, world all Courtland. Okay, World off, Courtland, As you can see, Your Yes. What a curtain on. Now what I'm doing. What I'm trying to do here is to Adam for ch as example. Four ch in in text one. Okay, this is specified to the strength or for the text. Okay, for the next one on. Now what? You should try to two time. We try to talk about the, by the way, in Sietch example. Okay. Ch one. Okay, whatever it takes here. Okay. See each one. Which only Brent ch as a collector. Okay, on what we have to do here is to add a C H one. Okay, The valuable this valuable. It should refer the values off text 11 by one. So let's start start to run to see the result, by the way, okay. 20. For Loops part2: Okay, that's cool. Yeah, this is character. One character to country. Yes, that's cool. As you see here, it's very, very clear. Cab world Off off Scotland And also the best seems to be counter as a as a collector again . So this is the way off how to define or how to declare a four loop with text. Okay to make preparations for the count's off characters in special string. OK, so that's all for this For the four loop on bond. I'm looking to make more options, and I have to talk more about the loops because because off those, it could be used as honest it for, by the way. So let's talk about honest it for yeah, he regard for what it's now, it's missed it for you. Yeah, clarify is something very important for you and for the others. Okay, so let's start to delete this, by the way. Yes, on Let's try to figure or toe configure or declare on. You look, for example, for X in 125 Yeah, I want to know it. So 1 to 10 example. Okay. On inside inside this little what we have to do here to make it to make this look a Zionist . It let's try toe open carry braces and no, let's continue here to add a new rule which will be new attrition inside the actual or the the first situation. Also here I'm going to declare X in and what in 1 to 1 to chin as example. Okay. Got school on inside here inside this law. What you have to do here we are going to print out Franklin. By the way, print lane, the X is equal to, As you can see, here exist equal. What's okay is equal to X. You're so lost six, by the way. And also it should be trained with the other, Which is why. But let me make some changes here. Why is equal to space on loss? Why so in this delay in this lecture, I have explained the distant for route. OK, this for lead. So it nested for rule means that when we try toe declare the first situation on inside the situation, we are going to make vinous Did it creation which is for why Okay, settlements for why it's not fixed by the way yet for why India That's cool. Okay. On in this part. We are going to make a situation for each number here. It should takes penetrations with the entire for or against cornices for you. Okay, so it's just Let's try to run to see the result, by the way. Okay. Yeah, that's cool. X equal one. Why equal one x equal? One? Why equal to X equal one? Why Equal? Yeah, that's cool, by the way. Okay, that's really cool. Okay, Yeah, that's pretty pretty good. Okay. Oh, my God. OK, that's go extend. Why 10. Okay, for for each value on the first situation or the for the this for loop. As you see here, it should give us the values. OK, it should gives us teen values. OK, so that's cool. On. Also, we can do something is different. Like I think we may. We may. We may make some some print screen or some ludes with Brent Assist or something else. Like if you would like to Adam. Yeah, we may. We may try to make on Lee. The situations were x value or why values or subs or some stuff there. Okay, so that's cool. No, let's just try to add the other option or to define the other lose or the other side off loops in the section. I think we should Yeah, we should have or we should make. Something is different, which looks like let me try to see the actual Yeah, the actual value. Like, yeah, they're sign off text. It should be ostracized off that are signed off. Why, As you see here on, it should equal it you. Here's the result. So what's the result? It's gonna be here. So now we are going to add something in the front, which will be the No, it's six. That's just why. Okay, that's cool. So now it's tried to run. Yeah, that's cool. Yes. Now we have been created. Something is useful, which is a multiplication table, by the way. Okay, here's the table off number one, As you can see here on, uh, here's the table off number two. OK, multiply number two on. Also, we have been created. The devil off Multiply number three. As you can see you on the number four. Number five number 66 assists. 10 1 to 10 7 age nine. Um, okay. And so on. Okay, you can do whatever it takes, and you can do anything you would like to do. OK, It's really, really amazing. Okay, that's cool. Yeah, I think it's pretty good. Eso that's the way off how to create and how to make a full with Mr For room, which will be something Seems to be awesome on Pretty could best be cool So now is to try to make the other thing which is also missed it for rule, By the way, I'm looking to make something is different. Yeah, because off we may try to add to other the print line with the pitch. Okay, is the print line as you see here on now I'm going to, uh, out. I was bored by the way outboard or outside its outside. Outside loop. All right, side situation. Okay, that's cool for excess land. Looking for X. Okay, this for move should be declared or it should be designed at school on now. It's tried to bring the other thing, which is Yeah, which will be inside. Here's the inside inside It's aeration for why to be more it life five to you, by the way. Okay, so let's see. Try to run to see there's a by the way. It's so easy. Yeah, that's cool. Yeah. Outside situation for X. Okay. On for each one week, you can see the how many situations to be inside. It should be tenure. Exactly for each one it should be as is by the way, we can make it more passing to be. Yeah, to other plus classics as examine here And here's blast. So why to see the existing result on then try to run to see the result more obvious. Okay, outside of attrition for with a value of one. Okay. On the what for X with the value. Oh, yeah. I think I should do this as examples. To be more more, try five on inside for value for value. Off, off. It's not OK off. Why is equal to well you? Yeah. Oh, my God. Was is that okay for value off x example? I think I make I'm a mistake. I may make something this mistake or wrong. No, that's cool. OK, try to see Now let's try to run to see the result. Yeah, that's cool. Yeah, it's pretty good. Ok, that's cool. Outside attraction for value off X equal one. Yeah, this is more more quiet. Yes. Yeah, that's good. It's run here to see the result. Yes, outside attrition for value off X equal one. And now you have to see the result off Why or inside situation for 10 numbers off. Why on when we try to see the outside attrition for value of X equal to with you can see the how many traditions for the next it okay, it's really cool. It's really cool. It's really more obvious to you. I think now you should have the full explanation about for look how toe create for route, how to work with situations, how to make loose with the text with numbers or with miss form. That's far for this is it? 21. While loop in Kotlin: hi guys will come to the new lecture in the section I'm going to teach you all of about Why Law? In the last lecture, we have been talking about the four room, but now it's try to do something different, which is why I look why Loop seems to be a looks like a four room. But it's seems to eat Toby arrangement with different way. Okay. To do that, let's try to define some variable or clarify some variable or declare some variable with the name of X example. On this value, it may people too 15 as example. Okay, as you can see here on now, let's try to start using. Now I'm going to I'm going to declare wild statement on with. While we're always asking about the conscience again in this Kenshin, while X is greater than or equal to zero example as against in here on, then often carry places on inside the Kerry places or branches or to what it is. It's a start to print line as example as always, I mean, talking the or type the court. After that, I'm going to to explain everything. Okay, the value of books. Okay, value off X equal to and then regard is blessed of X on. Then let's try to do something else. Which is the increment. Documentary is value of X should be equal to X minus one as example. Ok, so now let's try to explain everything after run the system. Okay, start to run. Okay, The body off X is equal. 15 the off accessible. 14 13 2011 9 9876 to 1. Okay. That school. So this tried to make a greater than or equal to Okay. Okay. Yes. It it's wrong. Seems to be written down some not wrong. Let's try to run to see that. Okay? Yeah, That's tool. The value of X is equal to zero. Okay, this is one way off. Using while. Okay, let's start discussion now. The first thing which I have bean made, which is Clark declared the valuable with the name off. Next on, put the value off 15. You can do it for the number like seven. As example. Kim, you can do whatever it takes on now it's start with while while consists off the condition on the the syntax, the syntax, it shone to be entire the Kerry braces again on with the condition. We have to ask anything that we would like. Toa ask about it. Okay, like this. His ears. I'm asking about the value off variable X. Get the value of exceeds to be civil on damask while. Why the this value off this variable seems to be still dated on request Civil Rico Zero. You have to look here inside the syntax and under apply it took him on inside this killer braces. As you can see, we have seen a print out to devalue the value of X, the current value of X, which is seven at this moment. Okay, a steam here on. Then we go to the next line with the next line. We have make the detriment value to change the value of X. So the new value of next it should become seven minus one which re sex? Okay on. Then we will come back again here to ask why x Gessler r equals zero, which is six on. Then we have been print out the value to see the result on. As you can see, it should grant the value of X, which is this on, then comes here to the detriment which is a new value of X which would become to six minus one, which, which would be care, became become to be five on, then back again to the while Loop on Asked about the value of X, which is five five is still president, Equals equals zero on, then comes here toe Brent, value our print or execute this line of God. Then we will jump here to the next line to make a new value of X new value verses should be people toe five minutes on, which would be 44 is because of a serious and also for the three on two and one. Okay, but one is good. It's good than or equal to zero K then will become here toe the document New value of X It should be equal one minus one, which is equal to zero on. Then we are going toe Ask about the 00 is greater than or equal serious. It's is equal to zero so that we find out the value should be printed on the last thing which will become the new value of to be zero minus one it will become minus one. So when the condition here ask about the value of X, it should be minus one minus. One is greater than or equal or zero is equal is or equal zero. It should be not so that it will not be executed on them. It would be a jump over these things. Carry presses its right to run to see the result. Okay, as you can see it, yes, it's start from 7 to 0. So let's try toe. Add some minus one as example as you can see here on. Now, let's try to run to see the result. Okay? Yeah, that's cool. The value of X is equal wise showing the minus one, because off we the condition it seems to be minus one. Okay, so let's try to do something is different, by the way, with y look okay. Here, I'm going to make it big changes where? X listening or equal. Okay. This down 10 as example. Okay, so be careful on focus with me. The value of X zero k on. Now I'm going to ask the while loop while this condition is true, Then we are going to execute the inside this block. Okay, so here is that it's not require 10. Then we are going to bring the value of X, which will be our this month. Seems to be 10. OK, but here's with with the increment. With this exhibition, we have to make Blust. Why? Because off we are going to make on income because of the value Start from the lowest to the other. Careful Lewis from the lowest to the highest value. Okay, so here is the 00 Stanton. Yes, it's true. When this condition seems to be true. Then then we are going toe. Come entire this block on, then went out this volume on, then asked here for the value. Okay. What about the value? Yeah, Here's the value off. What's going here, by the way. Okay. Why extra Stanton? Yes, it's 10. By the way. I was gonna have any. Okay, then we are going to ask to make the increment in new value of X, it should be equal. Toe X is 00 Small is one. Yes. Come here. Comes again Here. One is lantern. Yes, it's true. Yeah. Come here. Toe toe. Look, look. Look into the blocks and execute. Yeah, print out the value of X, which would be one then got to the increment in us new value of best. It should be one blast one It should be to then comes back to the while on ask again for the conscience to list on did Yes, it's true. So that executes the entire block So it will be Brentford to value. And then are the new body office, which would become two X equal to plus one, which will be three. So let's try to run that to see the exact tracing. Yeah, that's cool. The value of X. It should be zero. Yes, that's fine. So 0 to 9. So you may ask why we didn't see that the number thing. Yeah, because off we have been asked about While X is less than 10. It's not less than a week or so. If we had at the value off equal So now the value off often it should be shown here. Let's try to run again to see the result. Yeah, here we go. That Audiovox seems to be zero. Yes, on the value off X is equal to 10. Okay, that's cool again. I hope that you will try to change the number. Try to start with initial value to be lowest to the highest are highs to the lowest of Cape . But keep in your mind that when we when we start with them with declaration for the initial value flown from lowest, we have toe make the increment. Okay. But by contrast, if we are going toe declare their valuable, which we are going to using weather with gloves. We have to to make the this this condition to be decriminalize care because off we are going toe work with the highest to lowest. Okay on even though we are going to work with the condition as well because off when we ask the on this condition, we have to provide therefore discussion about this variable. So now we are going toe. Ask if the if this number is still is done because off we are going toe ask to talk or to work with lost value. But if this value is this, it was start from the highest. We are going to change the conditions to be sure that it's true. Okay, on the condition it will become true. That's all about the wild 22. Do while Loop in Kotlin: Hi. Look him again. Now I'm going to teach you something is different, Which is which called Do Wild, by the way. Okay, this is the expression off. Do while loop. So what you are going to do here with do while? So, each time I'm looking to create from scratch to clarify everything as well. By the way, I think as you see here, we have been declared the value off or the valuable, or with the name of X, with a value of zero K. Now I'm going toe make something is different, which is to do with new statement we have to make something is different, which is print by the way grant line, as you can see here, brand lying the value off X is equal to because what? Yeah, Regal plus X. Okay, that's the mother. So no, let's talk about the condition, the condition It should be outside outside the black. It's But before that, we have to make the other value, which will leave example X blesses us as example. Okay, it's not lost Means that new value of X it should equal to X plus one. So this is the meaning off explosive Us. Okay. And once again, the condition or the asking off pension or for a while, it should be outside the Kerry places. And now I'm going to ask about you. Why? Why what while x greater down. Okay, five. So let's see the this condition or this this syntax if we are looking to do I do for this condition, we know that the value of bucks seems to be zero k zero cannot be greater than five. Okay, but keep in your mind that when we are using the do statement this this sentence or this syntax will execute will execute this this block. After that, it would shake the the condition under while. Ok, so here is the value of X, which is zero. Okay, this Let's address that step by. Step on, then We are coming to the block. Do tell us that we have toe take action. Okay? Take action. That means execute after that way are not going to ask. So do means that we are coming into the blocks on. Then we are going toe print line. The value of X it should be zero k as it as shown here on then we are coming to make the increment. The new value of X should be X plus one ex lover must which means X is equal to X plus one the new value off X. It should be equal toe the old value of X plus one. The value of X at this moment is zero. So zero swan, it equals to one. So the new value of X, it should be one. Okay, then comes out. Come, come. Come out to this. This look on us about this condition while X greater than five While the new life off exit seems to be 11 is not good. Other than five on Didn't go back here on get outside the program. Stop the program or break the program or protect the execution. Start, run! Run To see the result of game as we can see. Okay, The value of X of x zero. Why? Because off this condition we will be execute before asking about this condition. Okay, Next tried to do something is different, which is five as example. The value of X is, or at least to be sex again. Why x There is no Let's try to do something that Baluchistan OK, do Brent! Oh, my God! Oh, my God! I'm sorry for that. I'm sorry for that, by the way. Okay. Now the value of X seems to be 10. Okay, Do on. Then let's go. To make minus, which is which, with which we are doing here to do is minimize or make detriment. Okay, which would be exactly what it looks like. This the new value of X. It should be all this value of X minus one. Okay, so the first condition, it should be 10. Do it would be accepted by the way on Didn't while it is 10. 10 degrees are down. Five. Yes, it's true. Then would it will be dutcher to run on. Make the detriment to become 99 is greater than five. Yes, it's OK. Go ahead and continue running. Andi, make the detriment to make the new value of X. Should be yet another land five. Yes, it's a great go back on. Make the new value of X which is seven. Okay, seven. Yes, it would be excused then asked about this event seven is gotta done. Yes. OK, Brent out then make the document or documents Toby to come 66 is greater than five. Yes, it's OK on the last thing, which is 55 Visitors are done. No, let's try to run to see the result. Yeah, that's cool Again, he received 10 9876 Again, all of these values, but once again keeping your mind with the while. We have to execute at least this look once because before asking about this condition, that's our for the do I Look, they hope that I will see you on the next lecture. 23. Loops Control Break in kotlin: Hello guys on would come through the new picture and this show. I'm going to talking about the loop Contras by using break. So if you would like to make some break statement to get out or to stop the loop or the fort how to do that? So it's trying to make some looks as a six year for I as example in one to a 10 OK, and one toe, 20 example. Okay, as you can see here on, then it's often the killer braces on inside this loop. I'm going to Adam. Some missed it. Look, which is four j in one to to 10 as example, by the way, okay on the inside. For I'm going to make it print Breslin, As you can see here on, then, um, here's I is equal to There are signs off I on the J is equal to There are signs O P. J. As you can see here. Andi Yeah, that's cool. So let's try to run this loops. Are these nested loops to see the result? Okay, click here to run to see the others. They result get here's Isaac along for on J on. If you scroll down. You can see a lot off results because off we have been created. The men men loop with four on. We have been invested mechanistic loops, Which is for sure. Okay, so what? What's about breaking? Are getting out this problem, this system or stopping the execution at some points. So let's try to do something here, which is difference if if What If J is equal to four of example. Then what you are going to do here is to make some breaking or getting out. Like what? Yeah, here we go. Let's, uh, break as you can see here on its tried to run to see the result. Okay, you still allow. It seems to be not afflicted by the way, with Jay is know by the way it's it's affected. Yeah, that's cool. Yeah, this tried to see the game. Andrzej seems to be executed with numbers, but when we get the number four, it seems to be good out. Okay, let's try to change a J toe. Be number two on, then try to click. Run here. Yeah, that's cool. Look at this is the I just deejay. It's only it's only executed for one time. Okay, that's all This is the way off. How to use break. Okay. Also, we can use, by the way, in four moves so we can exclude that for Jay. If you equal to 10 as example will be quite can try toe to see the result Here, click here on the market. You can see the result j for each number it excuse all off the numbers. 123456789 But with then it seems to be executed to be exit. But now also I can do it for if if what if I is is equal to five. Ok, in this condition, I'm going to make something which is break. Okay. Blackjack means get out. Okay, let's try to run to see the result market at school. Let's dress. I call on equal to Michael. Three are equal for i o k. I call five. It's not excusable, by the way. It's tried to add to on then try to run to see the result for I Okay, that's cool. Here we go. It's all the executable executed for equal one on. Also, it's only excuse for the J without for the the one Tau nine. Okay, as it showed here. So this is the way off how to use and how to control how to control the loops. Okay, that's all for this girl and see you in next lecture. 24. Loops Control Continue in Kotlin: Hi. Welcome again. Now let's talk about Luke Contras by using. Continue. OK, continue. Its by contrast with we use Continue. So what you are going to do here? Let's try to to delete the jail here, As you can see here. Yes. It's not needed, by the way. Yeah, here's the does that sound was for months, years to go. Okay, so now this tried to see something else. Something here. Which is if I ecological too. Two secs. Example. Then we are going to make continue, Which means continuous. It's used for continuous. I think there is some issues here. Was gonna continue. Yeah. Okay. I may have some some issues. You continue example. That's right. That sounds good. Yes, it's OK. Yeah, that's the thing. Is that that's this syntax. Okay, now I'm going to print front line. Okay? The value off I people to is equal to a year ago, plus the value of our care so now is trying to two run to see the result of care. By the way, this is the meaning off. Continue again. Let's try to see value off value of seven value off 10. Yeah. Value of 10 value of 12. Yeah. Okay, but you're ago. His Where's the If you can see here for for this condition off when the value off I seems to be big is equal toe six. Exactly. We never seen this value print out because off at this condition or at this value off, I it seems to be Quit on. Continue on. Also, we can't do something else, which, if I equals six four. Look at this. Look at the story. I got to it or I Is he going to go to nine or I is equipped to three as example. Okay, let's try to make it more arranged. Three it is five. Here is, um, six. It is nine. Okay, that's cool on. Let's try to run to see the result of gay. Okay, look at this. When the law comes up to the or facing the value off I to be three, it seems to be quit. Continue to the next. So that the numbers he seems to be disappeared here. Also, the five seems to be severe. Five course number six disappear. Okay, Also the number mine. Okay, that's all. So this is the peaceful off using gum continue by as as look control in Scotland. Okay, that's all for this sexual and see you in next lecture. 25. Loops Control Stop Break in Kotlin: So now, honestly, stride to work with Something is different, which will be stopped. Okay, break on. Stop. Look at this. Look, country by using why did you stop on? On what? On the break under Predict. Okay, so let's try to type the new court, which will be, as you can see here. Stop art, by the way. Then I'm going to create a for move for I in one to attend example and then open the killer presses. And inside I'm going toe other nested for which will be J in 1 to 10. Yes, that's cool. On open the killer princes and inside I'm going to make the brick hut At what? At stop. As you see here. Okay, on then I'm going to make the print. Yeah, that's cool for the print front line. As you can see here for the I is, you call to know it's I is equal to genocide. Off I on j equal to There are signs off J. Okay, that's cool. Okay, that's cool. What is not what's gonna happen? Yea, OK, it's J maybe yes, it's not. It's not kept order, but we see there's some issues. Okay? It's J J J. Where is the problem here? I don't know. Is that fine for J in? Okay, It's not to do what's going here. Okay, let's try to see. To see Iran on to see the reference J seems to be as there. Okay, so let's try to do something different. Which will be X as example. Here is the X value. Okay. By the way, it seems to be broke broken from the beginning. OK, on. I think we have some problem here, which is the every second because we didn't ask about something. So now let me ask for if X is equal equal to 23 as example on then we are. We have to We have toe make this option yet. That's fine. Okay. I think it's it's a pretty good idea. They tried to run to see after that. I'm going to explain, But once the game it seems to be, I don't mean different. Okay, that's cool. Try to run. You see the result? Yeah. Okay. I think the mystic waas in this basic but not still never excusable. Okay, this should be here. Okay. Yeah, that's fine, because it was a way a way off. My God. Look, I'm sorry, guys, for that because off I have been. But this this statement outside the this compresses which make this valuable off X does not shown the initiate the initial value of X here. That's the matter of care. So let's discuss about the break. Okay? As it comes here, if X is equal to three in the program, it should be Break on. Get out. Stop. Okay, because off with the formal start from I is he in 1 to 10 on also for extra in 1 to 10. Okay, on way are asking about the have been asked about the X value if it was equal to three. So that means the It's Russian. It should start with one and two and win it reach or it meets the value of its to be three . It should get out. Let's let's try again to run to see the result. Okay, here we go. I want my government actually going on x equal two, but three. It's not acceptable. Okay, let's try to make that for five example or No, it's not. It is seemed to be nine as example on, Try to run here to see Doesn't. Yeah, that's cool. OK, it seems to be executed for different numbers in X value. But when this value meets the value off nine, it gets out. Okay, It's break the program on Stop execution for the all brutal. Okay, that's all for the look Control by using stop on break again. And that's all for this lecture that See you in Exeter. Bye for now. 26. Loops Control Skip Continue in Kotlin: okay would come to the new election in the future. I'm going toe. Teach you more options with it. Rations on. Continue with Step kept off on for that. I'm going to make the same idea here, but it's not Stop here. It's just skipped by the way on with Skip, I'm going to talking about the continue skeptical. Let's go here to con. Continue example. Continue. ARTscape, by the way. Okay. At Skip. Okay, here's the matter. Okay, let's try toe run to see There's a Okay. As you can see here, the scroll seems to be excused for For all of this escape means that when you meet the value of X Toby nine, you have to You have to skip this number and continue. And you can check that here. Forex. When x equal nine. It seems to discover you don't see the value of off nine here. Okay? And that's the way on. Everything goes fine. OK, that's fine. On the skipped. It's a skip line. And skip the program, by the way, but it will execute the other. Okay, it's not Stop the program. It's excuse, but for the other values off nine or 10 in exit will be skipped. Okay, that's the idea. And that's the useful of using escape. Throw this situation or this controls by using by using, uh, skip, by the way, Skip on. Continue to be more clarified. Okay, that's the way. And that's all for this. This lecture on See you in next section Bye for now. 27. Declaring Arrays of Int in Kotlin: Hello there. And welcome to the new section off this cars in this section we are going to talking about the A raise. OK, so this begins with the first lecture. I'm going toe teach you how to work on it. How to declare on array, off injured. Okay, for that let's try to delete all off this information on as it sure here declaring the area okay, How to declare on how to define. Let's start by declaring with var var my ira as example. Okay, this is the name off away. Okay, this is my This is the name of other on. Then let's start toe a sign or declare a raid by typing the array on. Then it will be fooled by the by this symbols to at the time of the survey. So this is a rare off venture, Andi. Now let's define the number off our day before example on here. I'm going to initialize the value off each item in this area. OK, so let me clarify. Okay. Look at this. This number, which means Okay, let me That's me become more obvious with you. Okay, here's them off instead. Okay. On also this is the name of Array. Okay, By the way, I think the best experience here is toe Adam asterisk. Because with us is I can do our ad many lines again. Is the way. Okay? Everything. It's to declare to declare on a rare, as you can see here. Okay, on this is the number. Okay, Toe. A sign here is to assign this array with tide. Oh, off in general, OK, to assign this array this array content as example, But this array contents Okay, here's the way. Okay. On also, let's talk about the this number. Okay? Which goes from this brackets on. This is to Oh, my gosh. Okay, this number four is to deter mine. The item number. The item numbers now, today. Okay. That's why we had at this value okay, on the last thing, which is the zero. Okay. Lets me added as nine. Okay. To be 99 for each one. Okay. By the way, here we go. Okay. The last thing, which is, by the way, Yes. You regard it is the the default value. The default value for each item for each eye in this way. Okay, Okay, that's cool. So Now this is right to print as example. We can do directly, By the way, way needs toe to end this thesis. Comments. We can do that with the last one by at our system, like slashing his best and interlock it. That's cool. Now it's his right to plant to print, lying each item office early on. To do that, I'm going to declare or clarify this by the name with What's the name, the name Off Brent Line off my everyday. Okay, by the way, just me make it without my Ari my area. It's probably my area. That's a look in Onda. Then my array off zero. That's it. And also, I'm going to Adam Brent line, as you can see here for the my every off one. Now it's frontline skins. A year for the my array off to OK, that's cool on yours. Front line, as you can see here for the my every day, Put three on Let's try to see the other. Okay, Andi breadline off my array off. Four, as you can see here and then Brent. Okay, so be careful that we are talking about the size of our day because off. This is the number off four here to determine and deter mine. Which mind the item numbers in our area. Which means that this area off, off type injured it should includes four items. The first item It should take the address. Zero at this. One, 234 Okay, but keep in your mind when we talk his first item. Second item fared. Item on fourth item on this is not acceptable. Okay, Because off the actual size, which we have seen deter mined, here is four. Okay, on the initial value off each item is nine or the default value. Okay, so let's try to run to see the result, by the way. Okay, that's cool. He at 99 And why is that? Because off we have bean initialized. This value of nine, by the way. By default most time we have initialized the value with zero. Okay, Okay, that's cool. So that's why if someone asked why you didn't, you didn't You didn't find out the number four. Okay, let's try toe him. Just try to do it to keep if we keep it as is here to be four as example, and try to run to see the result, by the way. Yeah. Okay, that's cool. Yeah. 0123 Which is? I just want I just to add astri address four. Which, which four icons look at this exception exception in the three main Java lying arrange exception for as fire can wise that because off there is no address. But if we make maximize the size off Ray okay, to be five on. Look at this. Here's five on. Now it's tried to run to see the result. Yeah, that's cool. 12345 year. That's that's fine. Kept on that. That's thus meets our requirements. OK, ok, that's the way off. How to declare off, Ray with the name off. My are a on. Then try toe figure the time with the size on initial or default value. So now let's try to toe ad, um, data to each item to each item in this area in the array. Okay, this is the way off. How? Toe ad. Okay. How can How can we do that? Okay. By the way, this is print it Is that print. Great idea. Okay, here's the way, friend, I every item our way. Our agents. Okay, That's it. This is the way. So it once again, let's try toe ad at data for each item How to do that. Okay, let's do us by making my areas example. Here, here's my arraign. Okay. My array of zero if you go to 100 example. Okay. I got okay. I'm sorry for that, but here we go. On my early off one. It should be equal toe example. 10. Okay, you are free to add whatever it takes or what you would like to add it again and use the number two. Should be equal to, like, 15 example. Okay, you on. Uh, here's my my array off three. Because here it was good with which will be equal to number off. 15 it as example. Okay, it's all examples. Yeah. Listen with me. She sees something, which is Yeah, it's mites, not may. It's my area by the wagon. Cape on. Now, my array off four. Which would be equal. Teoh 589 example. Whatever it takes to get. So that's cool. So be careful here on the hope that you will take attention about that with me, right? It's good. Okay. Doesn't. Okay, that's cool. So now let's try to run to see the result, by the way. Okay. 110 15 1585899 So what's about that? Look it. Look at this. Once again, this is the initial value or the default value off each fighting in this area kept on. Now we have been called each item. Each item on this array item one item to item three. Item for item five. Okay, I defy because off there's five items on what? What I have bean doing with that? I have been added values, OK on the value it seems to the Ngok. So it's tried toe Adam some different values. Okay, Okay, that's cool. We have a mistake because off the floating point literal does not conform to be expected type injury at that school. I also try to Adam to add some text. Like like chortling as example. Okay. Hello. Example. Okay. Also, it's it's their wiser because off type mismatch chicken. So when we declare or define array off injured, we should add on the only injured values. OK, once again, we try to run to see the result. Okay, that's cool. OK, that's cool on. That's all about this lecture. How to declare an array. How toe Define this alley off. Unsure how toe deter mined the item numbers How? Toe initialize or make different values on. Then we have been at that our values to each item on this array. Finally, we have been Brent data item, okay? Printed by using the print lane for each item. Okay, that seems to be good. But also, we have other options on we have many, many options and many features on many skills or two that we are going to treat with with with a race into this section. Okay, that's all for this list. Lecture CEO in next picture. Bye for now. 28. Array of Strings in Kotlin: how they're on. Don't come toe the new lecture decision. I'm going toe declare on array, off strength. Kids, look at this. It's a rain off strings. Okay, So what? I'm going or what I'm trying to do here. How did you clear Andre? Office thing? Okay, it's so easy. By the way, here's the array off strength to save or to keep the time I'm going to toe only changes the string. Okay, Aside, recorded with time off off strength. Yeah, that's cool. So now, as you can see here, this area seems to be seems to be off. Seems to be contains the five items. Okay, let's try Toe added like seven items. Example on Dhere. Here's the initial, but the initial value It could be mpg, by the way. OK, it could be empty on, but here is the address of each one. Look at this. Here is Hello. Welcome occurred. Just just hold on. Hold on. I'm sorry for that, but I have to explain everything, okay? This is the way off. How to declare array off, stink again by adding my area example or or my text my or array. Our a string. Ok. Arresting exam. Look it. And now, as you can see, your its array off, String off saying that that type of string on, then here's the size off size of this away on This is the initial or different value. Okay, And now our data to each item in this under. Okay, Now let's try toe other the rain name. Okay, which is Andre. Str Okay on. I'm going to use this this name, by the way, on each item. Get how to do that. Okay, let's try this slide to do it from Scott Chicken. This is the way. Once again, it's a our A string, as you can see here, arresting off zero arresting off questions. Zero at me more. It should have the first string, which is example. Hello. Example. Okay, Now let's try to do something different, Which is yeah, for the array off one. Okay, array off. Pushing one at memory. It should be welcome. Okay, Now it's like to add array off position to it should be was examined by the way, Courtland and you have to do whatever text you have to do what you would like to do. OK, and here's the the question for which is arresting off three. Which is question one person to person three. Position four. Okay, which will be Java example or GBM. Okay, TVM, that's it. On now I'm going to add the look. Location five s 05 off the red, which will be Looks like javascript as you can see. Your Okay, that's cool. It seems to be good. Okay, on. Now, let's try to Brent array item. How that we are. We are going to use print line, as you can see here on then, inside, I'm going to other array string arresting off zero as Cassie. Okay, It seems to be pretty easy on as well. I'm going to add this for the other one to Oh, my God. I'm sorry for that. 345 Yeah, that's good. But years Here's the change, which is for lead 233 on four on. Now, let's tried to run to see the result. Okay. Hello. Will come scuttling TVM Johnson. 12345 on. Look at this. Look. Okay? Yeah. Okay. I think we have two items. I forgot, by the way. Okay. Let's once again OK, let's try toe. Adam more because off these seven, that's cool. OK, here's the array off five, which will be dart dart potpie as example on. Also, we have to Adam the area or of sexy regard, which will be the blessed mint number seven. Which would be Let's try to our okay, BHP off the as exam looking on as well. I'm going to other other that here. 12 example. It should be Print out the number 500 other numbers. Sex again. Now it's tried to run to see there's up. Yeah, that's cool. Hello. Will come. Cotton and give'em JavaScript dark or B P S P O p. 1234567 Okay, which represents the actual size for the actual item numbers. Get this. Tried to ask something else. What? You which could be Looks like this. Okay, it's our this to be a rare off ari Ari off seven as example on. It should be C sharp as example. It's a c sharp. Okay, c sharp, brutal language. Aunt as well. This tried to add the other one which will be here, Brent, the brand line the arresting off seven. As you can see here on. Now let's right to run to see the result. Yeah, OK, it's error. It's mistake, because off there is no new address. Okay, When we make a limitation off the race size or i two numbers in this arabe, we should not maximize or add any additional game. So now it's tried to delete it on this. This one place, it should be deleted. Okay, on once again, try to run to see Yeah, that's cool. And once again, it's strength. It's exactly similar to the injured, but it's it seems to be something different with items or with type, because off the type of sink, it allows us to add war to kill. By the way, we can do much. Hello, world as example. Award off bison as example. Okay, Python. Okay, let's try to see which will exclude Ron. Yes, OK. Hello. Ward off python. Okay, that that's the way off. How to treat a rare off strings, okay. And that it seems to be true. Okay, so that's that. That's that's enough for this lecture CEO mixture with advanced features off away. Bye. For now, 29. Println Array with for Loop in kotlin: okay. I think it seems to be more complicated to continue adding print line for each item. But now in this lecture, I'm going to teach you how to use Ah, four room with array. Okay to print. Okay, here's something else. Array of staying on. Here is the way off, Brent. The record int away items by using by using four. Look. Okay, that's cool. Critical. Okay, let's go. Here. Let's try to do something here. Here. Okay. And I'm going to delete all of this print every item by using by using for Okay, that's cool. OK, so let's try to print the content off this earlier by zing for Luke. So what I'm going to do here is to create a formal, as you can see here for on then for X example for X in In what? In array string for each item. It's a rare Okay, So what I'm going to do here I am going to print print off what? I'm going to bring ex. Okay, so this is the way off how to print, But keep in your mind that we are going to print line each item, okay? So that we don't need to add the array contents as example. Okay, so it is right to do it. Let's try to try. Yeah, I tried to do it, by the way. Okay. Yeah, that's cool. Hello, Courtland. Jeffrey M JavaScript. Dark BSP. Okay, that's cool. Yeah, what does mean that? So here's the form for move next. And we have been declared the valuable of X, which will be with the type off strength in the arresting and the this wall arresting Okay with six. And then we are going to print explained x X Will will take the value off each arresting. Okay, that's cool. 30. Print array item with special rules at kotlin: Okay. Welcome to the real addiction in this. I'm going to work with print with four. Move, but it will be more dedicated for something. Okay. Looks like this. I hope that you will be focused with me print items. Okay, on. Now I'm going to add to make something. Which is for I in I am zero 23 as example. No, I'm going to grant line, as you see here for the arrest ring off. I okay. And? And what? Yeah, I think it should be here years. That's cool. Yeah, that's cool. On it should be the values of array. String our A string off. I okay, that's cool. Yeah. Yeah, that's a critical. Okay, Now let's try to run to see there. Is it after that, we are going to talk. Yeah. Here we go. 0123 Yeah. Why is that? Because off we have Bean indicates that we are going to print the values from 0 to 3 by zero. Bio van. Value of two value of three. Okay, let's like to change to make for an eye into to the five. Exam to the four year. Okay, then we are going to print the A really off two array of three Ari Ari off for Let's try to run to see the results. OK, he will go up array, string off to arresting off the restaurant off four. Okay, so that's the way off when you weigh when you would like to specify something else with the area. Okay, that's cool. In this lecture, I hope that you will see you in the next lecture by for now. 31. Array of size in Kotlin: Hi. Hello. Again in the future, I'm going to talk about some features of other and like, our size. And how to treat with that again. This let's make something which will be so easy here with formal again for I in in zero as example. Okay, zero dot dot on. Then I'm going to ask with the maximum limit, which will be Andre off size. Okay. Arresting, as as you see, here are a strings. Okay, arresting dot Sighs OK, minus one. Why is that? So let's talk about array String size again. Arresting size here it seems to be seven again, so that when we are talking about arresting off size, it should be 77 minus one is six okay on? We are going to make some alterations with four move which which will be start from 0 to 60123456 Then we are going to rent out. Seven values became, That's why try to run to see the result. Okay, here we go. Oh, that's cool. OK, you can see all off the record content seems to be print out again. It's exactly the same if you are going to add something instead of this before going toe to other 026 Okay, on. Keep in your mind that we can't at Silin because off there is no with with 00 is the placement OK? It's the placement for the first address. When the first item, I'm just 1234567 Here's the Seven elements again. Zero represents the others off the first item in the area. Okay, that's why we are talking about six example. Let's try to run to see the result. Okay, that's cool. It's the sand, by the way. Okay. I hope that I have bean successful too. Explain this. Issues with arresting off silence. Once again, arresting off size. It seems to be as internal method which allows us to get the actual size off this array, which is the number off seven. Okay, on the minus one, because off we are starting from zero. Okay, that's all 32. Print array items by using While in Kotlin: how I will come to the neutral. And this is where I'm going to show you how to do the same by using while you to do that. It's tried by using light, as you can see here. Okay. At school on now I'm going to declare some valuable like X here on this value will take the night off. Zero as example on. Then I'm going to create a while. Loop with the condition. Okay? Conscience is it will be X is listed on. Okay, he's done once is done. Array String. OK, arresting size. Okay, that's cool on then. Okay, let's clarify this for a little bit that school on. Now, let's do this. Do the following, which is print when, As you can see here, Prince Lin, off the value off. It's, um, arrest ring off that are signed off excess example which would be equal to it may clarify it, which will be once again is on race string, as you can see here for X again. Now let's try to run to see the result. Yakin. That is something which is Knicks lost loss. Okay, Once again, we have bean forgot adding the alteration which is the increments here on now. It's tried to run to see the results. Okay, that's cool. It seems to be awesome. Okay, this is the way off. How to print out the content of this arabe izing while 33. Operations on Arrays at Kotlin: hi will come again in the sexual. I'm going to talking about the operations on a race. OK, so let's start by adding something here, which is preparations on raising kids. And for that I'm going to change the array here to be they are It's only are just just get You are as example, Andi I would change it to be with type of engine because off we have a lot of work. Here is the initial value, which will be zero as example on. Yeah, here we go to be zero. As you can see here on here is injured by the way on. Now let's add something. Which is our example, as you can see. Okay, it's a raid. By the way on to set the time I'm going to make this fight away. We go, Yes. Regard Yes, that's cool. Yeah, because off working with number, it seems to be more proper for what you are doing for. So this is something here to Adam as a five year. And here's the number off 13 So he is going toe Any numbers? Its three as example. Here we go. 700. Here's one example here I'm going to add a 10,000 pocket. That's cool. Okay, now let's try to Adam. They are example on Here's our should be our They are OK, So now let's try to run to see the result here. Okay, that's cool. So I have only changed the status off this array and convert from convert from strength to injure. So now we are. We are working with them. A rare off injured. That's why I'm coming here to change the status off this array or working with a layoff. Injured because off most off, the oppression. It's maybe mathematics. Okay. Or mathematical. Okay, Onda, listen, let's try to talk about it again. So the first thing which I'm trying to do here is to make a break. By the way, we don't need that. Okay? We don't need. It's only here. Operation once again, its operations on our way. My gods, Operation one. That's it. Fuck it. So now let's drive to brand plane as example here, long gone. Okay. Brundtland years Max number is examined. Okay. It will be equal to on then the last year. The name off today, which will be they are as you can see. Okay on then dot Max as example. Okay, this this method seems to be as entire method, which will we will bring the maximum number off our Okay, let's try to see the result. Okay, Marks number is 123434 Ok, that's cool. Which is our That's cool. OK? And also, we can do something else, which is Yeah. Okay, that's cool, Onda. Now let's try to do the other thing or the other operation, which might be the minimum. Okay. By my contrast, we way may ask about the minimum bag. Okay? There is minimum to be more readable. Minimum value is an example here, and then I'm going to other array off men. Okay? This is the method off which will be bring us the minimum value. I think it should be one, by the way, let's try to see Ron here to see the result market. That's cool. Okay, by the way, let's just let's try to other some negative value to see the results. Try to run here. Okay, that's cool. Minimum value is minus three. Okay, that's awesome. Okay, Now, let's try to see other operations, which will be the count, by the way. Okay. Here we go. Friend. Flynn, the count off array is okay. Here we go on right toe, Just some on for concatenation and then add the array. Dot does count, by the way. Okay, here we go. That's cool. Now let's try to run to see the result. Okay? The count of R A is seven, so let's display on Explain. Explain more about count. Count of array means the count off items. Okay. It's not means that we are going to make addition. Everyone blast away off to our other. Okay, that's the idea. So now let's try toe to do other thing, which is I think it's gonna be size as example. So it's true that it's that grand plan example. Here, here's the the size of array is example. Here we'll go. Plus, and here's array array off the size, As you can see here. Yes. Oh, my God. Array Done. Sighs. Okay, that's cool. On the I think I made some stick is that's fine or what? Which is size. Okay. Okay. Yes, yes. Here is the missing. Yeah, size. It does not needs toe. Adam killed braces. Okay, run. Now. Yeah, that's cool. It's seven. No, that's pretty good. Okay, Now let's ask about something else. Which is the last on the first. Okay. Brent Lynn. Here's the the last glass item. The last item this array is okay, here we go. On this base year on that confirmation for air dot That last? As you can see. That's it. Try to sit run to see that. Okay, the last item in this array is 10,000. OK, so this is going to see Yeah, OK, this is the last item. Okay, by contrast list. Let's ask about the first item. Okay? Franklin, as you can see year, which is It is the the first item in this array is okay. It's not always okay. Is be home here. Like it. There are dots. Not first, which will be bring us the first element on this area. Let's run. Okay. The first item in this array is 20. Yeah, that's cool. It's a pretty good. Okay, So what's else here? Let me try to remember toe give you all of the best. Okay, um maybe updates value. Yeah. Okay. Let's try to update some values. By the way, if you would like to sit elements. You would like to Adam some values. Maybe by sit something. OK, Yeah. I think if you would like Toa two other something else here. Brantling Incline. Now I'm going to make updates Here is topped. It, um the item four has bean updated to be to be as the following. I hope that you will be more patient with me. Okay to be that's it. Spacing this. Okay, regard you blast. Okay, So what I'm going here to do with update. Look, it's are often so it's there are dot sit. Sit off. What, by the way, sit off four, then, comma. So what I'm trying to do here is to make as I'm going to change the value where the yolk It's Adam. The item is 01234 Okay, here's four. OK, 123 Look. OK, Year ago. Sit without instead of minus the three, I will change it to become 570 as example. Okay, so let's try. Yeah, it's tried to see the results. OK, right. It's trying to run to see the results, by the way. Okay. It gives us some problem here, so this Let's see what's gonna happen here. I think you are going to talk about the item for okay, Yeah. Item for Okay, this is Antoine. Item to item three. Item for Yeah, exactly. On this. This tried to run to see the result. Yeah, that's cool. Get dicey for has been updated to be cuddling dirty on it. Okay, It's a pretty cool. So this is like to add it to be as 22 an example on run to see the result. Okay. Yes, that's cool. The item for has Bean updated to be Courtland that units. Okay. Okay. Now it's tried to do the other thing. I try to do other orm or operation here. This Let's start to sort as example. Yeah, or get get element or sort. Okay, Let's try to get elements to get element. I'm going to other brands. Plane, as you can see here, is, um here's get get 11 minutes, by the way, on space here and here we go, we're going to add, but this they are that that's what game that get your true as example, By the way, I think should be awesome. Okay, Now let's try to two run to see That is not okay. You can get to get element is 1234 Okay, here's the Yeah, that's cool. Okay. Here. Here we go. Ok, that school, we are getting the element number two with the others. Okay, so now it's try to get other option here, but I think we have a lot of court here. Okay, No problem. This slide to do more operations here, which will be currently is sort okay for making sort. You are goingto other print line on. Then I think some issues here here for sort elements or items by long. Okay, it's sort items. Okay, here we go. It's out to our dot thought. It's only sort, as you can see here. Okay, let's see. Click you to Cedars. Okay. Sort item. Carling. Okay, that's cool. This command, it's well sourced all of these elements, by the way. Okay, But it seems to be more internal. Okay, that's it. All off these operations on the area on. That's it for this lecture CEO in Mexico