When you're writing long numbers, you can group digits using underscores to make large numbers more
readable.
So for example, this let's make my value 14 000000000.
That's it.
So when you print a number that was defined using underscores.
Python prints only the digits.
So Python ignores the underscores when storing these kinds of values.
Even if you don't group them.
Digits in threes so the value will still be unaffected.
So the two python 1000.
1000 year.
Is the same as one underscore three zeros.
Which is the same as one zero underscore two zeros.
This feature works for both integer and floats.
We can also multiple assignment here so you can assign values to more than one variable using just a
single line of code.
So this can help shorten your programs and make the make them easier to read.
So you will use this technique most often when initializing.
Numbers, For example.
Here.
You can initialize the variables X or a B.
T2000.
So we need to separate the variable names with commas.
Here like this.
It's a separate variable names with commas here and do the same with the values here.
These are the variables.
Remember every time variables.
And these are the values.
So this is my value is variables.
Um.
Yes.
Variable.
So we will.
So.
As long as the number of values matches the number of variables, Python will match them correctly.
Here we have three numbers and three variables.
One, two, three.
Variable.
And that's it.
They are this out.
So.
We have.
We also have constants in.
Python.
So a constant is a variable whose value stays the same throughout life of a program.
So actually, let me write that constants here.
So let's define that.
So.
Owens.
So constant is basically like you are locking the your variable name.
Let's throw a log log here.
With constant you are locking your.
Variable value.
So here.
A python doesn't have built in constant types, but Python programs use all capital letters to indicate
a variable will be treated as constant and never be changed.
Here we can do, for example, max connections and 5000 here.
So when you want to treat a variable as a constant in your code, write the name of the variable in
all capital letters.
We also have a comment in Python.
Which you will learn in next lecture.