In this video, we learn how to use variables in Python. In the past couple episodes, we have been using single letter variable names. This video expands upon that topic and shows different ways of assigning variables, including simple, chained, and unpacking. We also go over good style and PEP8.
Feel free to read through these resources:
Python reserved keywords: https://realpython.com/lessons/reserv...
PEP8: https://www.python.org/dev/peps/pep-0...
0:00 - What is a variable?
0:29 - Reserved keywords
0:39 - Simple assignment (including reassignment)
1:16 - Chained assignment
2:11 - Variable unpacking assignment
3:17 - Assigning a variable to another variable
3:32 - Variable and function naming conventions from PEP8
4:03 - Keeping code clean in variable assignments
Смотрите видео How to Use Python Variables | Python Tutorial Ep6 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Datakademy 17 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 20 раз и оно понравилось 3 людям.