Monday, June 4, 2018

Python Keywords

                                                        Python Keywords 

Like all programming languages, in Python, some words have defined meanings and are reserved for the Python interpreter. You must not use these words as variable names. Note that they are all lowercase:-

 and ,   as, assert ,   break  ,  class ,   continue  ,  def   , del   , elif   , else  ,  except ,   exec ,   finally ,   for  ,  from,    global  ,  if   , import ,   in   , is ,   lambda   , not,    or ,   pass ,   print   , raise,    return    ,try ,   while   , with   , yield  

 There are a large number of built-in names that you must not use, except for their intended purpose. The cases of  True ,  False , and  None  are important. The most common ones are listed here:-

.
  True  ,  False  ,  None    ,abs,    all   , any ,   chr,    dict,    dir ,   eval    ,exit  ,  file ,   float  ,  format    input    ,int   , max ,   min,    next  ,  object ,   open  ,  print ,   quit,    range ,   round ,   set  ,  str   , sum    tuple  ,  type  ,  vars  ,  zip .



 READ ALSO:-   (1)   Comments, Code Blocks, and Indentation ,variable in Python
                 
                            (2)   How to Downloading Python


No comments:

Post a Comment