How to Use Python Variables | Python Tutorial Ep6

Published: 17 May 2021
on channel: Datakademy
20
3

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


Watch video How to Use Python Variables | Python Tutorial Ep6 online without registration, duration hours minute second in high quality. This video was added by user Datakademy 17 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 20 once and liked it 3 people.