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

Publicado el: 07 agosto 2018
en el canal de: 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.


En esta página del sitio puede ver el video en línea Python Tutorial For Beginners-Part - 08 - Keywords in Python de Duración hora minuto segunda en buena calidad , que subió el usuario Just Learn Python 07 agosto 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 89 veces y le gustó 1 a los espectadores. Disfruta viendo!