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.
In questa pagina del sito puoi guardare il video online Python Tutorial For Beginners-Part - 08 - Keywords in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Just Learn Python 07 agosto 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 89 volte e gli è piaciuto 1 spettatori. Buona visione!