Hello, everyone.
So in this particular session, we will be starting our journey with Biton, so the agenda for this
particular session is to learn to run a download book.
To see different ways for getting the input and output.
Seeing how to comment inviter.
We will see different data VIPs.
I'm very nervous.
And then we will learn about the new device.
So first of all, let's go to the Jupiter book once the directory structure is open.
You can go to new.
And take five and three, this would create a new model for you.
I already have a new home to give you that I would take on that.
It will open my notebook.
I can rename this book to say.
Fighting.
Session one.
Now, to add a new cell, you can click on this plus sign here, this will insert new sets and if you
want to remove a particular cell.
You can take this as a sign which would cut, Deselected said.
Now, a cell could be of two types.
The facility is a rendezvous with said this hotel is something which I can run using this sign.
This can be used to run this cell.
Apart from that, I can drive any piece of port.
And click on Shift into which would run this quote for me, it will show this output in front of this
out column and it and the number of the cell, the sequence of the cell number will be written in this
particular.
Square bracket.
So let's say I run on Addison.
And I arrived on the scene.
Now, if I rerun this cell, so now the sequence number for this one will change to the next one, so
to doing this to fourth.
So you see how the sequence number just changed.
Apart from that, we have another four month, which is a month down, is basically used for adding
documentation to the book.
If you want to create the heading, you can click cache and space.
So whatever you will be writing next would come as a heading.
Similarly, I can use to harsh for a smaller size.
And three hash and so on.
Of these monocytes.
And anything without.
A harsh space would mean a normal Texas.
Now, let's see how we can take input from the user.
So to take input from the user.
To take input from the user, to take input from the user, we will write input.
And in it, we will write the question which we want to be displaying so we can see what is your name?
And once we done this, it will be able to take the input.
So let me save money and enter.
So it took the value.
Munsie as the input.
If I want to print the response so what I can do is I can save print.
So this will print the output for me.
So let's say Munsie.
So this will bring this one to me if I want to bring something else.
I can see Brent and.
Drink whatever I want to see.
Hello.
What?
And I'm able to pray and tell about you instead of this, if I want to do any particular mathematical
operation, I can do that.
Also.
So it does the mathematical operation for me.
The next thing that you will be discussing now.
Is how to come in fighting.
So to add comment in Biton, what we can do is.
We will see hash and.
This is a common.
Now, if I.
On any particular code here.
Then this particular line would not be drawn, but see.
In case I do not put any comment, the line would show me an error because this is not a correct Biton
statement, so it gives me an Dixon.
If I comment this again, the syntax error would go.
Another way to create a comment inviting is using strings.
You can convert a particular line into a comment by.
Diving control with the forward slash.
This would also come in this particular night.
Now, in case I want to give another comment, I can also remove the hash, I can put this in a string
form.
So this will also be treated as a comment.
I will have to remove the space from here.
This will also be treated as a comment and would not be displayed.
The next thing which we have to discuss is data types, so let's see what type of data types we have
invited inviting.
We have numbers.
The data for numbers is in indigenous and floating point.
Integer, which is viewed as I n t.
Is a whole number, which could be any number, like three three hundred two hundred, five hundred
without any decimal point.
Floating point is any number which has a decimal point present in it, so two point twenty four point
six hundred point zero are floating point numbers.
The next day that I, which we have is string's depicted as FDR.
And string is an ordered sequence of characters, so hello, Sammy, two thousand or any other character
is considered as a string.
Began the note, a string by.
Creating a string by having a single code.
This would be a string in case I keep something in the Bellecourt.
This would also be extreme if I put something in triple quotes, this would also be considered as a
string.
This would also be considered as a strength, so if I print this.
You can see this is a multiline string while these are just.
No strings, these do not have any multi-line here, so these are normal strings, so I can use single
codes, double codes and track records.
We are creating streak's.
The other details which we have, our lists, dictionaries, diapers, sex and booleans.
So we would start discussing about different bites once we are done with the different types of variables.
So what is a variable, a variable is a placeholder which will hold a particular value and give it a
name.
So let's say I have a number seven and I want to use this number again and again.
So what I can do is I will create a variable named X and this X will hold the value of seven so that
whenever I want to call out the value of X, I can use it again.
So similarly, I can create another variable Y, which would be a float type and something.
Then I can have another variable which has a boolean value.
So a variable is a placeholder which can hold any type of use inside it.
So let's have a look at different variables, so here I'm creating a variable eight on this variable,
it will hold a numeric value, say, eighty nine.
And I will create an imprint for you.
So when I into the valley for the easy nine, similarly I create another domain, even X equal to thirty
four and I will print X for you.
So let me find the product of a and.
Ex.
And rented for.
So the product of E and X is three thousand and twenty six.
So this is what a variable would allow me to do.
So instead of typing eighty nine and thirty four again and again, I can see these values in a holder
or the variable, which is having a particular name.
And I can pull out the variable any time, anywhere I want without actually keeping track of what value
it holds.
So let's say I update the value of E as one zero two four.
And again, I added the value of a as thirty five.
So now I do not have to keep remembering that what the value was, it was over the course of time.
I can simply print it and see what the value for it is.
This is what being able to help us in achieving the next topic, which we will be going through, is
numbers and the different type of numbers that we have and different operations which we can do on numbers.
So let us see the different type of numbers which we have first.
So the numbers that we have are indigenous and floating point, so let me create individual value,
see X equals to Trin.
So if you want to print the value of X, they can print.
Ex.
And if I want to bring the type of X, I can check this by saying diet and inside this I can give X,
so the value for X is 12 and the data type of X is in.
Now, let me create another floating point value, so a float value, let's say.
Why is he going to do to point my name and let me print?
Why and bring the type of I also.
So why is the one nine nine and the day that I four, why is float now?
There are different type of operations which I can perform on these numbers.
So the first operation which I can perform is the basic arithmetic operation, the first one being.
Addition.
I can add X.
And why?
And it will give me fourteen point ninety.
I can subtract X from my.
And it would give me negative nine one zero one.
I can multiply these.
So it would give me twenty five point eight, the next operation, which I can do is of division.
So let's say we divide three by two.
So although three and two are both integers.
It is giving us a floating point value as a result, and here we can see that then the value is when
the operations are done between individual and a float, it will by default, consider the data type
of the design and accordingly, it will make the value as integer or floor.
Now, because we have as a floating point, that is why it made all the results as float values.
Now, in case I am adding to numbers as two and three, which are integers, the result is also in dijo.
But when I converted this into a float point, it will give me a float as a result.
The next operation, which I can perform is a flawed division, so let us see, we have seven and we
want to.
Find the floor, the floor value.
With respect to food, so here I get the floor value as one.
Now, the another solution, another thing which I can do is let's say I want to find out the remainder
after a particular division operation.
So let's say I divide seven by four and want to find out that.
I mean, the.
Then the value would be three, so I can use this percentage sign as a module, which will give me the
remainder as the result.
Another operation which I can perform is to find out the barber.
So.
I can do that using.
So this would give me the result that the tree being eight.
The nurse next operation, which I can do using this father operation, is to find out the square root.
I can do that by letting I have eight.
And I want to find out the cube root.
So I can trace it to the power of one by three, so it will give me the key root of the number.
If I want to find out a square root of a number, I can simply say four days to the power of zero point
five.
So now it would give me the square root.
Apart from this, I can do a lot more complex operations and let's see the order of the operations,
so let's say to Leiston, multiply by five.
Plus.
So this gives me 50 for.
So it will give the president to the multiplication sign and after that perform the addition operation.
Now, in case we have into this, then it will give decision proceedings to parenthesis.
Hence, the result is a four, which is 10 plus two, 12 and two five plus two seven.
Another thing which I can do with numbers is if I want to convert the data that I offer to the float
or float to an integer, I can do that by typecasting my particular rating.
So let's say I have leveraged X, which had some value.
So exciting these value.
So if I want to convert this X into a float, I can simply float.
X. So this would convert this value into a floating point.
Now, to actually make it effective, because now when I say float X, it will give me the float value,
but it would not have updated the typeface.
So if I see.
X. So the time is still in beta, so what I can do is I can say X is equal to.
Float X. So now when I have done this, the type of candidate X would have been updated to float.
Similarly, I can convert the floor to an individual by saying int.
By playing my name.
And that's Steve, isn't it?
So now if they find out that they.
Or ZET.
Sorry, sorry, sorry.
Dipo said.
Let me read from Mr. Michael.
In case you face any problem, see, any object is not Coliban or anything like that, what we can do
is we can restart the gun.
So this particular error would go away.
So now I'm running this.
So it will give me the time as a teacher.
We would walk on several operations using integers and floats, but this is it for this particular session.
In the next session we would learn about strings and different string operations.