Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hire one and welcome in this new video.
In this video, we are going to talk about variable assignment viable is one of the most important thing
when you walk with Programmation because it will allow us to store some data in variable.
So it will allow us to store information to work with it later, and it will be very essential when
we call.
So first, we are going to see how to create and numerical variables.
So it is very easy.
You just have to put a number.
So, for example, variable or x and you put a value.
So if I want to create another variable, I just have to put, for example, why I put also six and
I can print the two variables.
Very interesting things is that if you have two viable which are numerical variables, you can use all
the operation between numbers that we have seen before with the variable.
For example, if I want to have X plus y, if I can do using the Plus operator.
So it is very easy.
Now we are going to create a f string because in their previous video, I have said that.
Before the variable assignment video, the string is not really important, so now we are going to see
the power of the.
So I tread.
A date variable using.
Attaching a simple string, I carried a price.
And now I will create a new information using f string.
So recreate a nav stream we put, for example, Tesla, and now we want to put the price of Tesla
at date.
That's.
So if I would print so we can see that we have the value of this barrels in the string in full, and
the really interesting thing is that later when you work with, for example, real time data, this
variables will change each day, for example.
And.
They will change automatically, so this string is always true and you don't need to change anything.
So frank little if I change the price automatically, the four string will change also.
So it is very, very interesting and really important to master to illustrate the Boolean case.
I want to use a little example, for example.
Hypothetically, you have an algorithm and it works, so each day you want to run, you are going to
take some orders, but you can take orders only if the market is open.
And we have only two different keys, which our market is open and market is not open.
So to see if the market is open or not, we are going to use a logical operation and stole the result
in a Boolean variable.
So, for example, now it is.
One p.m. PDT.
So we need to see if the market is open or not, and the market is open.
If
time is greater than eight a.m. end time, it must be also longer than seven p.m..
And if?
We.
Display the market open Bible is true because this error is contained, meaning it by eight a.m. and
seven p.m..
If I put, for example, eight p.m..
We have, as a result, force, because, OK, that is time, so it is greater than 8:00 a.m. but isn't
lower than 7:00 p.m. So variable is the most, I think, important thing when you could.
So it is very important to muster it and to see again this video.
If you notice when we come through a table with this notion and even go on YouTube, for example, to
see over videos because it is really the main points of all programmation language.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.