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.
On this page of the site you can watch the video online Python Tutorial For Beginners-Part - 08 - Keywords in Python with a duration of hours minute second in good quality, which was uploaded by the user Just Learn Python 07 August 2018, share the link with friends and acquaintances, this video has already been watched 89 times on youtube and it was liked by 1 viewers. Enjoy your viewing!