Why: Python Variables, Types, Objects, Mutability & State? (w/ Mnemonics) смотреть онлайн
Get The Full “Learn Python ?” Online Course:
http://www.mnemonic.academy/learn-python
The following video is from an online educational course produced by Mnemonic Academy that teaches the basics of Python programming using mnemonics, metaphors and the science of learning titled “Learn Python: Like a Bee Student”, taught by instructor Dylan Jorgensen
What’s a variable?
- For beginners I think it’s best to think of them as information tupperware that can scale to fit any object. (Technically reserved memory locations with ID locators)
- A variable can contain any characteristic, number, or quantity that can be measured or counted. Like age, room temperature or income are variables because the value may change over time. But not birthday or eye color because they always stay the same.
What are types?
- Classifications of variables, grouped by memory usage and structure. Therefore, by assigning different data types to variables, you can store integers, decimals or characters in these variables.
What does static vs dynamic typing mean?
- Static vs dynamic typing is a question about when variable types are checked.
- Static typed languages are those in which type checking is done at compile-time, (when you are typing in your code) whereas dynamic typed languages are those in which type checking is done at run-time (When someone uses your program).
What is an object?
- Everything is an object: python types, variables, functions, operators, etc...
- Python is completely object oriented.
What is an object’s identity?
- Every object has a unique identifier called its identity.
- An object’s identity never changes once it has been created, thus it’s the object’s address in the memory.
What is mutability?
- It’s a process. I think of it as evolution, but only making partial changes. Some part of the original organism must stay the same. Like the variable name in Python.
What is a variable's state?
- State is a term used to refer to this current variable's value.
How do we find its State out if we don't know?
- We can wrap the variable in a function or we can use other programmatic methods to ask python what is inside. Then once we run that line of code we can read out the return.
All photos used have creative commons licence and links to the original authors can be found here. https://goo.gl/BAMwi6, https://goo.gl/K1xRFv, https://goo.gl/9k2MY3
Interested in Learning More About Online Courses That Teach Using Mnemonics, Metaphors and the Science of Learning?
Checkout All Our Mnemonic Academy ? Online Courses:
http://www.mnemonic.academy
Subscribe To Our Mnemonic Academy ? YouTube Channel:
https://www.youtube.com/channel/UCrZjSLS1o3FJDS5hFoTCIPQ
Like Our Mnemonic Academy ? Facebook Page:
https://www.facebook.com/www.mnemonic.academy
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Why: Python Variables, Types, Objects, Mutability & State? (w/ Mnemonics)» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.