Python Tutorial For Beginners-Part - 08 - Keywords in Python

Опубликовано: 07 Август 2018
на канале: Just Learn Python
89
1

Python Tutorial For Beginners-Part - 08 - Keywords in Python

www.justlearnpython.com


Just Learn Python

Python Tutorial for Beginners

Part-08 -Keywords

Keywords in Python
------------------

Like in any other programming language, Python also has set of keywords which are reserved.

You cannot use the keywords as variable name, function name, class name or any other identifier.


How to get list of keywords of installed Python version ?
---------------------------------------------------------

import keyword

print(keyword.kwlist)

The list may vary from version to version.

What happens if you use a keyword as a variable ?
--------------------------------------------------
Ex:

nonlocal = 20

True = 0

and = "some"






Just Learn Python

All about Python programming,

In this channel you will find videos related various Python programming topics,




Like tutorials, Exercises, code snippets, Projects, tips and tricks of Python,

Python best practices , Python tutorials, Real life examples, coding practices, interview questions.


На этой странице сайта вы можете посмотреть видео онлайн Python Tutorial For Beginners-Part - 08 - Keywords in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Just Learn Python 07 Август 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 89 раз и оно понравилось 1 зрителям. Приятного просмотра!