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
Now that you know what the dynamically typed programming language is, let's see what basic data types
we have in Python.
The type will be associated with the value stored in the variable at runtime.
Will quickly discuss the main python data types and then our focus will go into more detail about each
of them.
These are all the python built in data types.
Numbers which are integers or whole numbers in the floating point numbers, or simply floats booleans,
which represent logical values indicating a true or false.
In Python there are two boolean constants defined.
True.
Always written with uppercase D and false.
Written with uppercase F.
Most of the time, booleans are used to test different conditions.
Let's see an example.
Age equals 40 and the name equals then.
And I'm printing.
X equals equals 40.
This statement will return a boolean value.
It returned true or print x greater than 20.
It returned true as well.
Or print name.
Equals equals.
Andre.
This statement will return false.
And this one print lane of name.
Not equals ten.
I am testing if the length of the name variable is not equal to ten and it will return true.
Note that in Python there is also another constant called none.
This is frequently used to represent the absence of a value as when some arguments are not passed to
a function, or when a function does not return something explicitly and returns none.
Let's move to the next data type strings.
Are ordered sequences of characters encoded using UTF eight.
Lists are ordered mutable sequences of objects.
To create a list, use the name of the list equals and the pair of square brackets and the square brackets.
The elements of the list separated with commas.
A list can contain any type of elements, a string.
An integer.
A float.
A boolean value.
Or another list.
Another datatype is the table.
Toppers are ordered immutable sequences of objects.
By the way, an object whose internal state can be changed is mutable.
On the other hand, immutability doesn't allow any change in the object once it has been created.
Let's move on.
Sex are mutable collections of unordered unique objects.
And there are also frozen sex which are immutable collections of unordered unique objects.
And finally, dictionaries are collections of unordered key value pairs.
We've seen the main data types of Python core programming language.
In the next lectures, we'll take a closer look at each of them and discuss them in depth.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.